From ec930cb79601b1cdd4bd0bbaf01e5eb15cad101f Mon Sep 17 00:00:00 2001 From: Richard Roberts Date: Sun, 23 Feb 2014 16:05:26 -0500 Subject: [PATCH] Disabled GeographicLib examples --- gtsam/3rdparty/CMakeLists.txt | 2 ++ gtsam/3rdparty/GeographicLib/CMakeLists.txt | 8 ++++---- 2 files changed, 6 insertions(+), 4 deletions(-) diff --git a/gtsam/3rdparty/CMakeLists.txt b/gtsam/3rdparty/CMakeLists.txt index 799ea46c7..f06f4f769 100644 --- a/gtsam/3rdparty/CMakeLists.txt +++ b/gtsam/3rdparty/CMakeLists.txt @@ -25,4 +25,6 @@ if(NOT GTSAM_USE_SYSTEM_EIGEN) FILES_MATCHING PATTERN "*.h") endif() +############ NOTE: When updating GeographicLib be sure to disable building their examples +############ by commenting out their line add_subdirectory (examples). add_subdirectory(GeographicLib) diff --git a/gtsam/3rdparty/GeographicLib/CMakeLists.txt b/gtsam/3rdparty/GeographicLib/CMakeLists.txt index f90893d23..6122d2910 100644 --- a/gtsam/3rdparty/GeographicLib/CMakeLists.txt +++ b/gtsam/3rdparty/GeographicLib/CMakeLists.txt @@ -341,10 +341,10 @@ add_subdirectory (man) add_subdirectory (doc) add_subdirectory (matlab) add_subdirectory (python/geographiclib) -if (GEOGRAPHICLIB_PRECISION EQUAL 2) - # The examples assume double precision - add_subdirectory (examples) -endif () +# if (GEOGRAPHICLIB_PRECISION EQUAL 2) +# # The examples assume double precision +# add_subdirectory (examples) +# endif () if (BUILD_NETGEOGRAPHICLIB) set (NETGEOGRAPHICLIB_LIBRARIES NETGeographicLib) set (NETLIBNAME NETGeographic)