Merge branch 'developer' of github.com:slsdetectorgroup/slsDetectorPackage into developer

This commit is contained in:
2020-11-18 10:12:35 +01:00
3 changed files with 6 additions and 25 deletions

View File

@ -15,16 +15,15 @@ set(PUBLICHEADERS
include/sls/Receiver.h
)
# HDF5
# HDF5 file writing
if (SLS_USE_HDF5)
if (HDF5_FOUND)
find_package(HDF5 1.10 COMPONENTS CXX REQUIRED)
add_definitions(
-DHDF5C ${HDF5_DEFINITIONS}
)
list (APPEND SOURCES
src/HDF5File.cpp
)
endif ()
endif (SLS_USE_HDF5)
# Create an object library to avoid building the library twice