From ceee1f00f90347960eb48bf842c0d0c86f04b67c Mon Sep 17 00:00:00 2001 From: AnyOldName3 Date: Mon, 27 Oct 2025 17:23:31 +0000 Subject: [PATCH] Don't link to stub Boost.System library (#8754) Closes #8754 See merge request OpenMW/openmw!4964 (cherry-picked from f372dc10063) --- CMakeLists.txt | 2 +- components/CMakeLists.txt | 1 - 2 files changed, 1 insertion(+), 2 deletions(-) diff --git a/CMakeLists.txt b/CMakeLists.txt index 63ed9edfe1..f524c400e2 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -452,7 +452,7 @@ if(HAVE_MULTIVIEW) add_definitions(-DOSG_HAS_MULTIVIEW) endif(HAVE_MULTIVIEW) -set(BOOST_COMPONENTS iostreams program_options system) +set(BOOST_COMPONENTS iostreams program_options) find_package(Boost 1.70.0 CONFIG REQUIRED COMPONENTS ${BOOST_COMPONENTS} OPTIONAL_COMPONENTS ${BOOST_OPTIONAL_COMPONENTS}) diff --git a/components/CMakeLists.txt b/components/CMakeLists.txt index 8b48080a79..76d4722614 100644 --- a/components/CMakeLists.txt +++ b/components/CMakeLists.txt @@ -592,7 +592,6 @@ target_link_libraries(components ${OSG_LIBRARIES} ${OPENTHREADS_LIBRARIES} - Boost::system Boost::program_options Boost::iostreams