Blame SOURCES/ceres-solver_gflags.patch

532ae3
diff -rupN ceres-solver-1.11.0/cmake/FindGflags.cmake ceres-solver-1.11.0-new/cmake/FindGflags.cmake
532ae3
--- ceres-solver-1.11.0/cmake/FindGflags.cmake	2015-10-11 22:57:44.000000000 +0200
532ae3
+++ ceres-solver-1.11.0-new/cmake/FindGflags.cmake	2016-07-25 14:45:21.720524347 +0200
532ae3
@@ -384,7 +384,7 @@ if (GFLAGS_PREFER_EXPORTED_GFLAGS_CMAKE_
532ae3
   if (FOUND_INSTALLED_GFLAGS_CMAKE_CONFIGURATION)
532ae3
     message(STATUS "Detected gflags version: ${gflags_VERSION}")
532ae3
     set(GFLAGS_FOUND ${gflags_FOUND})
532ae3
-    set(GFLAGS_INCLUDE_DIR ${gflags_INCLUDE_DIR})
532ae3
+    set(GFLAGS_INCLUDE_DIR "/usr/include")
532ae3
     set(GFLAGS_LIBRARY ${gflags_LIBRARIES})
532ae3
 
532ae3
     # gflags does not export the namespace in their CMake configuration, so