Skip to content

Commit d887ecf

Browse files
author
Marc-Stefan Cassola
committed
glog as well
1 parent 9ea2d59 commit d887ecf

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

modules/sfm/CMakeLists.txt

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -9,11 +9,11 @@ if(NOT DEFINED GFLAGS_LIBRARIES)
99
set(GFLAGS_LIBRARIES "gflags")
1010
endif()
1111

12-
if(NOT DEFINED SFM_DEPS_OK)
12+
if(NOT DEFINED GLOG_LIBRARIES)
13+
set(GLOG_LIBRARIES "glog")
14+
endif()
1315

14-
if(NOT DEFINED GLOG_LIBRARIES)
15-
set(GLOG_LIBRARIES "glog")
16-
endif()
16+
if(NOT DEFINED SFM_DEPS_OK)
1717

1818
set(_fname "${CMAKE_CURRENT_BINARY_DIR}/test_sfm_deps.cpp")
1919
file(WRITE "${_fname}" "#include <glog/logging.h>\n#include <gflags/gflags.h>\nint main() { (void)(0); return 0; }\n")

0 commit comments

Comments
 (0)