hanged CMakeLists.txt:

Added "C" as language to project to work better with HDF5
Changed variables from HDF5 (DIR->DIRS)
Added HDF5-Lite to target-link-libraries
pull/28/head
gogobers 2016-12-13 14:48:08 +01:00
parent d8677b100d
commit 33e6b3bddc
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\"" )
ENDIF()
PROJECT(openEMS CXX)
PROJECT(openEMS CXX C)
cmake_minimum_required(VERSION 2.8)
# default
@ -180,6 +180,7 @@ TARGET_LINK_LIBRARIES( openEMS
${fparser_LIBRARIES}
tinyxml
${HDF5_LIBRARIES}
${HDF5_HL_LIBRARIES}
${Boost_LIBRARIES}
${vtk_LIBS}
${MPI_LIBRARIES}