cmake: hdf5 support fixes

Signed-off-by: Thorsten Liebig <Thorsten.Liebig@gmx.de>
pull/28/merge v0.0.35-rc1
Thorsten Liebig 2016-12-13 19:09:13 +01:00
parent d8677b100d
commit a2c2ec2ff5
1 changed files with 2 additions and 1 deletions

View File

@ -6,7 +6,7 @@ ELSE()
SET( CMAKE_BUILD_TYPE Release CACHE STRING "Set to either \"Release\" or \"Debug\"" ) SET( CMAKE_BUILD_TYPE Release CACHE STRING "Set to either \"Release\" or \"Debug\"" )
ENDIF() ENDIF()
PROJECT(openEMS CXX) PROJECT(openEMS CXX C)
cmake_minimum_required(VERSION 2.8) cmake_minimum_required(VERSION 2.8)
# default # default
@ -180,6 +180,7 @@ TARGET_LINK_LIBRARIES( openEMS
${fparser_LIBRARIES} ${fparser_LIBRARIES}
tinyxml tinyxml
${HDF5_LIBRARIES} ${HDF5_LIBRARIES}
${HDF5_HL_LIBRARIES}
${Boost_LIBRARIES} ${Boost_LIBRARIES}
${vtk_LIBS} ${vtk_LIBS}
${MPI_LIBRARIES} ${MPI_LIBRARIES}