From 0dd6693462ebfb9c847c08413f06326dac1a8d51 Mon Sep 17 00:00:00 2001 From: Matt Leotta Date: Wed, 3 Jun 2015 11:39:13 -0400 Subject: [PATCH] roll back CMake changes for gflags --- Exercises/ceres/CMakeLists.txt | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/Exercises/ceres/CMakeLists.txt b/Exercises/ceres/CMakeLists.txt index d484ce8..c4ba619 100644 --- a/Exercises/ceres/CMakeLists.txt +++ b/Exercises/ceres/CMakeLists.txt @@ -9,12 +9,11 @@ SET(CMAKE_BUILD_TYPE Release CACHE STRING PROJECT(ceres_tutorial_exercises) FIND_PACKAGE(Ceres REQUIRED) -FIND_PACKAGE(gflags REQUIRED) INCLUDE_DIRECTORIES(${CERES_INCLUDE_DIRS}) ADD_EXECUTABLE(curve_fitting curve_fitting.cc read_matrix.cc) -TARGET_LINK_LIBRARIES(curve_fitting ${CERES_LIBRARIES} ${GFLAG_LIBRARIES}) +TARGET_LINK_LIBRARIES(curve_fitting ${CERES_LIBRARIES} gflags) ADD_EXECUTABLE(bundle_adjuster ba_file.cc bundle_adjuster.cc) -TARGET_LINK_LIBRARIES(bundle_adjuster ${CERES_LIBRARIES} ${GFLAG_LIBRARIES}) +TARGET_LINK_LIBRARIES(bundle_adjuster ${CERES_LIBRARIES} gflags)