Package: openems / 0.0.35+dfsg.1-3

0003-More-things-to-fix-build.patch Patch series | download
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
From: Ruben Undheim <ruben.undheim@gmail.com>
Date: Sun, 20 Nov 2016 22:01:42 +0000
Subject: More things to fix build

---
 CSXCAD/CMakeLists.txt  | 4 ++--
 openEMS/CMakeLists.txt | 2 +-
 2 files changed, 3 insertions(+), 3 deletions(-)

diff --git a/CSXCAD/CMakeLists.txt b/CSXCAD/CMakeLists.txt
index 9d516d5..d7670c1 100644
--- a/CSXCAD/CMakeLists.txt
+++ b/CSXCAD/CMakeLists.txt
@@ -90,9 +90,9 @@ INCLUDE_DIRECTORIES( ${fparser_INCLUDE_DIR} )
 find_package(TinyXML REQUIRED)
 ADD_DEFINITIONS(  -DTIXML_USE_STL )
 
-find_package(HDF5 1.8 COMPONENTS C HL REQUIRED)
+find_package(HDF5 1.8 COMPONENTS CXX HL REQUIRED)
 INCLUDE_DIRECTORIES (${HDF5_INCLUDE_DIRS})
-link_directories(${HDF5_LIBRARY_DIRS})
+link_directories(${HDF5_LIBRARIES})
 # hdf5 compat
 ADD_DEFINITIONS( -DH5_USE_16_API )
 
diff --git a/openEMS/CMakeLists.txt b/openEMS/CMakeLists.txt
index 898f280..5504590 100644
--- a/openEMS/CMakeLists.txt
+++ b/openEMS/CMakeLists.txt
@@ -108,7 +108,7 @@ find_package(TinyXML REQUIRED)
 ADD_DEFINITIONS( -DTIXML_USE_STL )
 
 # hdf5
-find_package(HDF5 1.8 COMPONENTS C HL REQUIRED)
+find_package(HDF5 1.8 COMPONENTS CXX HL REQUIRED)
 INCLUDE_DIRECTORIES (${HDF5_INCLUDE_DIRS})
 link_directories(${HDF5_LIBRARIES})