~smspillaz/folly/folly-git-master

Viewing all changes in revision 8989.

  • Committer: Facebook GitHub Bot
  • Author(s): Dave Rigby
  • Date: 2020-10-24 08:18:53 UTC
  • Revision ID: git-v1:5fd7f424f243b51dfb9bd748bba782dcb0163d46
FindGlog: Add support for 'glogd' Debug library (#1479)

Summary:
Glog v0.4.0 when configured with Debug build type adds a 'd' suffix to
the library file. This results in FindGlog.cmake failing to locate it.

Update FindGlog.cmake to use check for 'glogd', and use
select_library_configurations() to set GLOG_LIBRARY to the correct
found filename.

(Note: this has no effect if a non-Debug type is used.)

Pull Request resolved: https://github.com/facebook/folly/pull/1479

Reviewed By: yfeldblum

Differential Revision: D24503510

Pulled By: Orvid

fbshipit-source-id: 705df05a4a3d7df2df8af3bb66c319fb044adbce

expand all expand all

Show diffs side-by-side

added added

removed removed

Lines of Context: