Commit 8fdf85e0 authored by edgarriba's avatar edgarriba

fixing ARM issue with glog

parent 2a14d220
......@@ -6,6 +6,11 @@ set(the_description "SFM algorithms")
find_package(Ceres QUIET)
if(NOT DEFINED SFM_DEPS_OK)
if(NOT DEFINED GLOG_LIBRARIES)
set(GLOG_LIBRARIES "glog")
endif()
set(_fname "${CMAKE_CURRENT_BINARY_DIR}/test_sfm_deps.cpp")
file(WRITE "${_fname}" "#include <glog/logging.h>\n#include <gflags/gflags.h>\nint main() { (void)(0); return 0; }\n")
try_compile(SFM_DEPS_OK "${CMAKE_CURRENT_BINARY_DIR}" "${_fname}"
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment