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
|
Author: Matthias Klose <doko@debian.org>
Description: fix build with boost 1.90
Bug-Debian: https://bugs.debian.org/1127080
Last-Update: 2026-02-05
--- a/CMakeLists.txt
+++ b/CMakeLists.txt
@@ -45,7 +45,7 @@ IF ( CMAKE_HOST_WIN32 )
# forced via a pragma.
FIND_PACKAGE (Boost COMPONENTS regex thread)
ELSE ()
-FIND_PACKAGE (Boost COMPONENTS regex thread program_options system)
+FIND_PACKAGE (Boost COMPONENTS regex thread program_options)
FIND_PACKAGE (MPI)
ENDIF ()
--- a/BuildSupport.py
+++ b/BuildSupport.py
@@ -214,8 +214,6 @@ def setupEnv(env, pathToRoot = "."):
env.Append(LIBS = ["z", "pthread"])
# Hdf5 lib
env.Append(LIBS = ["hdf5"])
- # Boost system
- env.Append(LIBS = ["boost_system-mt"])
# Boost threads
if siteExists and hasattr(Site, "boostThreadLib"):
env.Append(LIBS = [Site.boostThreadLib])
|