Commit 9b594f49 authored by Vitaly Tuzov's avatar Vitaly Tuzov

Fix for SFM module configuration when no gflags have been found

parent ac62d70f
......@@ -3,10 +3,10 @@ set(the_description "SFM algorithms")
### LIBMV LIGHT EXTERNAL DEPENDENCIES ###
include(cmake/FindGflags.cmake)
find_package(Gflags QUIET)
find_package(Ceres QUIET)
if(NOT Ceres_FOUND) # Looks like Ceres find glog on the own, so separate search isn't necessary
include(cmake/FindGlog.cmake)
find_package(Glog QUIET)
endif()
if((gflags_FOUND OR GFLAGS_FOUND) AND (glog_FOUND OR GLOG_FOUND))
......
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