Add missing deps

This commit is contained in:
Guilhem Lavaux 2019-01-31 16:02:18 +01:00
parent 857aa51bbd
commit 69de687876
3 changed files with 11 additions and 0 deletions

View file

@ -38,6 +38,7 @@ if (HDF5_FOUND)
h5_readFlash.cpp
loadFlash.cpp
)
set_property(TARGET CosmoHDF5 PROPERTY POSITION_INDEPENDENT_CODE ${BUILD_SHARED_LIBS})
target_include_directories(CosmoHDF5 BEFORE PRIVATE ${HDF5_INCLUDE_DIR})
else(HDF5_FOUND)
add_library(CosmoHdf5 OBJECT