summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRuben Undheim <ruben.undheim@gmail.com>2016-11-20 22:01:42 +0000
committerRuben Undheim <ruben.undheim@gmail.com>2018-11-27 18:59:05 +0100
commit2f90f60948f33a01c740e39ea614c47ecb711b0f (patch)
treeda31672812d1b5e9ac8abf8bbc369382699b57cf
parent6744b4d48136d81438bf7c6fd107c4cc9b63891e (diff)
More things to fix build
Gbp-Pq: Name 0003-More-things-to-fix-build.patch
-rw-r--r--CSXCAD/CMakeLists.txt4
-rw-r--r--openEMS/CMakeLists.txt2
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})