if(TEGRA_DEMO)
  find_library(GLOG glog PATHS ${CMAKE_EXTERNAL_LIB} NO_DEFAULT_PATH NO_CMAKE_FIND_ROOT_PATH)
endif()
if(ANDROID)
  find_library(CERES_OPTIMIZED_LIBRARY NAMES "ceres" PATHS ${CMAKE_EXTERNAL_LIB} NO_DEFAULT_PATH NO_CMAKE_FIND_ROOT_PATH)
else()
  find_library(CERES_OPTIMIZED_LIBRARY NAMES "ceres")
endif()

set(CERES_LIBS general ${CERES_OPTIMIZED_LIBRARY})
set(EIGEN3_INCLUDE_DIRS /usr/include/eigen3)
