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