void-packages/srcpkgs/openmw/patches/boost-1.89.patch
Đoàn Trần Công Danh 3b0988eb21 openmw: for boost-1.89
2025-08-31 08:27:07 +07:00

21 lines
623 B
Diff

--- a/CMakeLists.txt
+++ b/CMakeLists.txt
@@ -459,7 +459,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})
--- a/components/CMakeLists.txt
+++ b/components/CMakeLists.txt
@@ -586,7 +586,6 @@ target_link_libraries(components
${OSG_LIBRARIES}
${OPENTHREADS_LIBRARIES}
- Boost::system
Boost::program_options
Boost::iostreams