We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent ef5a7e8 commit 9901f16Copy full SHA for 9901f16
modules/sfm/CMakeLists.txt
@@ -29,6 +29,8 @@ if(NOT DEFINED GFLAGS_INCLUDE_DIRS AND DEFINED GFLAGS_INCLUDE_DIR)
29
endif()
30
if(NOT GFLAGS_LIBRARIES AND TARGET gflags::gflags)
31
set(GFLAGS_LIBRARIES gflags::gflags)
32
+elseif(NOT GFLAGS_LIBRARIES AND TARGET gflags)
33
+ set(GFLAGS_LIBRARIES gflags)
34
35
if(NOT DEFINED GLOG_INCLUDE_DIRS AND DEFINED GLOG_INCLUDE_DIR)
36
set(GLOG_INCLUDE_DIRS "${GLOG_INCLUDE_DIR}")
0 commit comments