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)