From 62ca5c23ee7c7699a7f931afb1cfbfad85905e52 Mon Sep 17 00:00:00 2001 From: cbeall3 Date: Wed, 3 Dec 2014 23:20:29 -0500 Subject: [PATCH] CMake to install headers --- gtsam/3rdparty/CMakeLists.txt | 2 ++ gtsam/3rdparty/ceres/CMakeLists.txt | 2 ++ 2 files changed, 4 insertions(+) create mode 100644 gtsam/3rdparty/ceres/CMakeLists.txt diff --git a/gtsam/3rdparty/CMakeLists.txt b/gtsam/3rdparty/CMakeLists.txt index 49d5a2fbb..301548dcf 100644 --- a/gtsam/3rdparty/CMakeLists.txt +++ b/gtsam/3rdparty/CMakeLists.txt @@ -45,6 +45,8 @@ endif() option(GTSAM_BUILD_METIS_EXECUTABLES "Build metis library executables" OFF) add_subdirectory(metis) +add_subdirectory(ceres) + ############ NOTE: When updating GeographicLib be sure to disable building their examples ############ and unit tests by commenting out their lines: # add_subdirectory (examples) diff --git a/gtsam/3rdparty/ceres/CMakeLists.txt b/gtsam/3rdparty/ceres/CMakeLists.txt new file mode 100644 index 000000000..98b2cffce --- /dev/null +++ b/gtsam/3rdparty/ceres/CMakeLists.txt @@ -0,0 +1,2 @@ +file(GLOB ceres_headers "${CMAKE_CURRENT_SOURCE_DIR}/*.h") +install(FILES ${ceres_headers} DESTINATION include/gtsam/3rdparty/ceres) \ No newline at end of file