From fea807821d6427f5299fdaae6a2c29fd1547b2e3 Mon Sep 17 00:00:00 2001 From: Alexei Kotov Date: Sun, 26 Oct 2025 05:16:26 +0300 Subject: [PATCH] Don't link to stub Boost.System library (#8754) --- CMakeLists.txt | 2 +- components/CMakeLists.txt | 1 - 2 files changed, 1 insertion(+), 2 deletions(-) diff --git a/CMakeLists.txt b/CMakeLists.txt index df8e51ee03..48f09830f8 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