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 9ea2d59 commit d887ecfCopy full SHA for d887ecf
modules/sfm/CMakeLists.txt
@@ -9,11 +9,11 @@ if(NOT DEFINED GFLAGS_LIBRARIES)
9
set(GFLAGS_LIBRARIES "gflags")
10
endif()
11
12
-if(NOT DEFINED SFM_DEPS_OK)
+if(NOT DEFINED GLOG_LIBRARIES)
13
+ set(GLOG_LIBRARIES "glog")
14
+endif()
15
- if(NOT DEFINED GLOG_LIBRARIES)
- set(GLOG_LIBRARIES "glog")
16
- endif()
+if(NOT DEFINED SFM_DEPS_OK)
17
18
set(_fname "${CMAKE_CURRENT_BINARY_DIR}/test_sfm_deps.cpp")
19
file(WRITE "${_fname}" "#include <glog/logging.h>\n#include <gflags/gflags.h>\nint main() { (void)(0); return 0; }\n")
0 commit comments