diff --git a/gtsam/base/CMakeLists.txt b/gtsam/base/CMakeLists.txt index e6818b787..8ca43e1c2 100644 --- a/gtsam/base/CMakeLists.txt +++ b/gtsam/base/CMakeLists.txt @@ -5,6 +5,7 @@ install(FILES ${base_headers} DESTINATION include/gtsam/base) # Components to link tests in this subfolder against set(base_local_libs CppUnitLite + ${Boost_LIBRARIES} base ) diff --git a/gtsam/geometry/CMakeLists.txt b/gtsam/geometry/CMakeLists.txt index 2b4635638..52a691ea0 100644 --- a/gtsam/geometry/CMakeLists.txt +++ b/gtsam/geometry/CMakeLists.txt @@ -9,6 +9,7 @@ install(FILES ${geometry_headers} DESTINATION include/gtsam/geometry) set(geometry_local_libs geometry base + ${Boost_LIBRARIES} CppUnitLite ) diff --git a/gtsam/inference/CMakeLists.txt b/gtsam/inference/CMakeLists.txt index 158ce706e..37986bb8b 100644 --- a/gtsam/inference/CMakeLists.txt +++ b/gtsam/inference/CMakeLists.txt @@ -12,6 +12,7 @@ set(inference_local_libs base ccolamd CppUnitLite + ${Boost_LIBRARIES} ) # Build tests diff --git a/gtsam/linear/CMakeLists.txt b/gtsam/linear/CMakeLists.txt index 49438c5c9..899de41c3 100644 --- a/gtsam/linear/CMakeLists.txt +++ b/gtsam/linear/CMakeLists.txt @@ -13,6 +13,7 @@ set(linear_local_libs base ccolamd CppUnitLite + ${Boost_LIBRARIES} ) # Build tests diff --git a/gtsam/nonlinear/CMakeLists.txt b/gtsam/nonlinear/CMakeLists.txt index 070d88da4..6d917ffc5 100644 --- a/gtsam/nonlinear/CMakeLists.txt +++ b/gtsam/nonlinear/CMakeLists.txt @@ -14,6 +14,7 @@ set(nonlinear_local_libs base ccolamd CppUnitLite + ${Boost_LIBRARIES} ) # Build tests diff --git a/gtsam/slam/CMakeLists.txt b/gtsam/slam/CMakeLists.txt index 7bce4f369..2354aa96c 100644 --- a/gtsam/slam/CMakeLists.txt +++ b/gtsam/slam/CMakeLists.txt @@ -15,6 +15,7 @@ set(slam_local_libs base ccolamd CppUnitLite + ${Boost_LIBRARIES} ) # Build tests