1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41
|
Author: Andreas Tille <tille@debian.org>, Anton Gladky <gladk@debian.org>
Last-Update: 2026-03-23
Bug-Debian: https://bugs.debian.org/1128147, https://bugs.debian.org/1129859
Description: Libboost 1.90 has retired system
Index: sight/cmake/build/macros.cmake
===================================================================
--- sight.orig/cmake/build/macros.cmake
+++ sight/cmake/build/macros.cmake
@@ -1613,7 +1613,7 @@ macro(sight_create_pch_target _og)
target_precompile_headers(${SIGHT_PCH_NAME} PUBLIC ${SIGHT_PCH_HEADERS})
# Boost
- find_package(Boost QUIET COMPONENTS system date_time iostreams log log_setup REQUIRED)
+ find_package(Boost QUIET COMPONENTS date_time iostreams log log_setup REQUIRED)
target_link_libraries(${SIGHT_PCH_NAME} PUBLIC Boost::date_time Boost::iostreams Boost::log Boost::log_setup)
target_compile_definitions(${SIGHT_PCH_NAME} PUBLIC BOOST_BIND_GLOBAL_PLACEHOLDERS)
Index: sight/lib/__/core/Dependencies.cmake
===================================================================
--- sight.orig/lib/__/core/Dependencies.cmake
+++ sight/lib/__/core/Dependencies.cmake
@@ -1,4 +1,4 @@
-find_package(Boost QUIET COMPONENTS system date_time iostreams log log_setup REQUIRED)
+find_package(Boost QUIET COMPONENTS date_time iostreams log log_setup REQUIRED)
find_package(LibXml2 QUIET REQUIRED)
find_package(OpenSSL COMPONENTS Crypto)
Index: sight/lib/__/core/CMakeLists.txt
===================================================================
--- sight.orig/lib/__/core/CMakeLists.txt
+++ sight/lib/__/core/CMakeLists.txt
@@ -1,7 +1,7 @@
sight_add_target(core TYPE LIBRARY OBJECT_LIBRARY ON)
target_link_libraries(
- ${TARGET_OBJECT_LIB} PUBLIC Boost::system Boost::date_time Boost::log Boost::log_setup Boost::iostreams
+ ${TARGET_OBJECT_LIB} PUBLIC Boost::date_time Boost::log Boost::log_setup Boost::iostreams
)
target_compile_definitions(${TARGET_OBJECT_LIB} PUBLIC BOOST_BIND_GLOBAL_PLACEHOLDERS)
|