• Dave Rigby's avatar
    FindGlog: Add support for 'glogd' Debug library (#1479) · 5fd7f424
    Dave Rigby authored
    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
    5fd7f424
FindGlog.cmake 1.04 KB