File tree Expand file tree Collapse file tree 3 files changed +12
-2
lines changed Expand file tree Collapse file tree 3 files changed +12
-2
lines changed Original file line number Diff line number Diff line change @@ -24,7 +24,6 @@ target_link_libraries(boost_geometry
2424 Boost::concept_check
2525 Boost::config
2626 Boost::core
27- Boost::crc
2827 Boost::function_types
2928 Boost::graph
3029 Boost::iterator
@@ -34,7 +33,6 @@ target_link_libraries(boost_geometry
3433 Boost::mpl
3534 Boost::multiprecision
3635 Boost::numeric_conversion
37- Boost::program_options
3836 Boost::qvm
3937 Boost::range
4038 Boost::rational
Original file line number Diff line number Diff line change @@ -31,6 +31,12 @@ function(boost_geometry_add_unit_test prefix item)
3131 PRIVATE
3232 Boost::included_unit_test_framework)
3333
34+ # At least one unit test uses the crc library (but the Geometry library does not).
35+ target_link_libraries (${unit_test_name}
36+ PRIVATE
37+ Boost::crc
38+ Boost::program_options)
39+
3440 # Include the main Geometry test folder and the current folder
3541 target_include_directories (${unit_test_name}
3642 PRIVATE
Original file line number Diff line number Diff line change @@ -15,6 +15,12 @@ function(boost_geometry_add_robustness_test item)
1515 PRIVATE
1616 Boost::geometry)
1717
18+ # Link to additional libraries required for testing.
19+ target_link_libraries (${robustness_test_name}
20+ PRIVATE
21+ Boost::crc
22+ Boost::program_options)
23+
1824 # Include the main Geometry test folder and the current folder,
1925 # and the robustness test folder
2026 target_include_directories (${robustness_test_name}
You can’t perform that action at this time.
0 commit comments