#1311 Show link libraries on Linux also

This commit is contained in:
Magne Sjaastad 2017-03-13 14:25:04 +01:00
parent 8c8de5269f
commit a180b72af5

View File

@ -188,15 +188,14 @@ if(RESINSIGHT_ENABLE_HDF5)
if (HDF5_FOUND) if (HDF5_FOUND)
add_definitions(${HDF5_DEFINITIONS}) add_definitions(${HDF5_DEFINITIONS})
include_directories(${HDF5_INCLUDE_DIRS}) include_directories(${HDF5_INCLUDE_DIRS})
add_definitions(-DUSE_HDF5)
list(APPEND THIRD_PARTY_LIBRARIES list(APPEND THIRD_PARTY_LIBRARIES
${HDF5_LIBRARIES} ${HDF5_LIBRARIES}
) )
if (${CMAKE_SYSTEM_NAME} MATCHES "Windows") add_definitions(-DUSE_HDF5)
message( STATUS "Using HD5 from : ${HDF5_C_LIBRARY}" ) # TODO add_subdirectory(HDF/Hdf5Reader)
endif() message( STATUS "Linking HD5 libraries : ${HDF5_LIBRARIES}" )
endif() endif()
endif() endif()