diff --git a/CMakeLists.txt b/CMakeLists.txt index 838730306..6cfdd07bf 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -517,7 +517,7 @@ if(NOT ${Boost_FOUND}) message(FATAL_ERROR "Could not locate Boost in either CONFIG or MODULE mode.") endif() message(STATUS "Found Boost version ${Boost_VERSION}.") -target_link_libraries(heyoka PUBLIC Boost::boost Boost::serialization Boost::disable_autolinking) +target_link_libraries(heyoka PUBLIC Boost::boost Boost::serialization) # NOTE: quench warnings from Boost when building the library. target_compile_definitions(heyoka PRIVATE BOOST_ALLOW_DEPRECATED_HEADERS)