diff --git a/src/slic3r/CMakeLists.txt b/src/slic3r/CMakeLists.txt index 28f54b7064c..567fcafc857 100644 --- a/src/slic3r/CMakeLists.txt +++ b/src/slic3r/CMakeLists.txt @@ -441,6 +441,7 @@ target_link_libraries( fastfloat OpenSSL::SSL OpenSSL::Crypto + boost_headeronly ) if (MSVC) diff --git a/tests/CMakeLists.txt b/tests/CMakeLists.txt index 82027558ccd..220012f61c6 100644 --- a/tests/CMakeLists.txt +++ b/tests/CMakeLists.txt @@ -13,7 +13,7 @@ set(CATCH_EXTRA_ARGS "" CACHE STRING "Extra arguments for catch2 test suites.") add_library(test_common INTERFACE) target_include_directories(test_common INTERFACE ${CMAKE_CURRENT_LIST_DIR}) target_compile_definitions(test_common INTERFACE TEST_DATA_DIR=R"\(${TEST_DATA_DIR}\)" CATCH_CONFIG_FAST_COMPILE) -target_link_libraries(test_common INTERFACE Catch2::Catch2) +target_link_libraries(test_common INTERFACE Catch2::Catch2 boost_headeronly) if (APPLE) target_link_libraries(test_common INTERFACE "-liconv -framework IOKit" "-framework CoreFoundation" -lc++)