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.
2 parents da967e0 + 7a8c959 commit 3b5a558Copy full SHA for 3b5a558
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