openems: fix build with boost 1.89 (#510866)

This commit is contained in:
Sandro
2026-04-17 14:27:45 +00:00
committed by GitHub
2 changed files with 14 additions and 0 deletions
+12
View File
@@ -0,0 +1,12 @@
diff --git a/CMakeLists.txt b/CMakeLists.txt
index caeac56..64c1e18 100644
--- a/CMakeLists.txt
+++ b/CMakeLists.txt
@@ -123,7 +123,6 @@ link_directories(${HDF5_LIBRARIES})
# boost
find_package(Boost 1.46 COMPONENTS
thread
- system
date_time
serialization
chrono
+2
View File
@@ -44,6 +44,8 @@ stdenv.mkDerivation (finalAttrs: {
url = "https://github.com/thliebig/openEMS/commit/e02e2a8414355482145240e4c2b2464d7a26dd9e.patch";
hash = "sha256-y3pvim/8XUKF5k7shj0D+8P6tdfSZ3E/gxTogbRtxdo=";
})
# boost 1.89 removed the boost_system stub library
./boost-1.89.patch
];
nativeBuildInputs = [