From 50a4cb4586c7aaace04e71915e2bc8413fe3519b Mon Sep 17 00:00:00 2001 From: "Jeremy W. Murphy" Date: Thu, 23 Oct 2025 11:12:47 +0900 Subject: [PATCH 1/3] Remove Boost::crc dependency Not an actual dependency. --- CMakeLists.txt | 1 - 1 file changed, 1 deletion(-) diff --git a/CMakeLists.txt b/CMakeLists.txt index 2b0384e1d2..247b57aadd 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -24,7 +24,6 @@ target_link_libraries(boost_geometry Boost::concept_check Boost::config Boost::core - Boost::crc Boost::function_types Boost::graph Boost::iterator From 6186b9dc5d063fa428b69b357786a56c3f594d86 Mon Sep 17 00:00:00 2001 From: "Jeremy W. Murphy" Date: Thu, 23 Oct 2025 11:25:38 +0900 Subject: [PATCH 2/3] Add Boost::crc to unit test dependencies --- test/CMakeLists.txt | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/test/CMakeLists.txt b/test/CMakeLists.txt index 3836548f73..dd3b6b5e9c 100644 --- a/test/CMakeLists.txt +++ b/test/CMakeLists.txt @@ -31,6 +31,11 @@ function(boost_geometry_add_unit_test prefix item) PRIVATE Boost::included_unit_test_framework) + # At least one unit test uses the crc library (but the Geometry library does not). + target_link_libraries(${unit_test_name} + PRIVATE + Boost::crc) + # Include the main Geometry test folder and the current folder target_include_directories(${unit_test_name} PRIVATE From 6a6146f64b9f027a8ce658d094aabe7d53011bf8 Mon Sep 17 00:00:00 2001 From: "Jeremy W. Murphy" Date: Sun, 26 Oct 2025 07:11:27 +0900 Subject: [PATCH 3/3] Fix program_options; add crc to robustness test --- CMakeLists.txt | 1 - test/CMakeLists.txt | 3 ++- test/robustness/CMakeLists.txt | 6 ++++++ 3 files changed, 8 insertions(+), 2 deletions(-) diff --git a/CMakeLists.txt b/CMakeLists.txt index 247b57aadd..c4a34cfa4f 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -33,7 +33,6 @@ target_link_libraries(boost_geometry Boost::mpl Boost::multiprecision Boost::numeric_conversion - Boost::program_options Boost::qvm Boost::range Boost::rational diff --git a/test/CMakeLists.txt b/test/CMakeLists.txt index dd3b6b5e9c..dc7e7ce560 100644 --- a/test/CMakeLists.txt +++ b/test/CMakeLists.txt @@ -34,7 +34,8 @@ function(boost_geometry_add_unit_test prefix item) # At least one unit test uses the crc library (but the Geometry library does not). target_link_libraries(${unit_test_name} PRIVATE - Boost::crc) + Boost::crc + Boost::program_options) # Include the main Geometry test folder and the current folder target_include_directories(${unit_test_name} diff --git a/test/robustness/CMakeLists.txt b/test/robustness/CMakeLists.txt index 60ce71d610..723f73f7ac 100644 --- a/test/robustness/CMakeLists.txt +++ b/test/robustness/CMakeLists.txt @@ -15,6 +15,12 @@ function(boost_geometry_add_robustness_test item) PRIVATE Boost::geometry) + # Link to additional libraries required for testing. + target_link_libraries(${robustness_test_name} + PRIVATE + Boost::crc + Boost::program_options) + # Include the main Geometry test folder and the current folder, # and the robustness test folder target_include_directories(${robustness_test_name}