Add missing dependency
This commit is contained in:
parent
7feba4788f
commit
65b3139ba9
@ -38,6 +38,7 @@ if (HDF5_FOUND)
|
|||||||
h5_readFlash.cpp
|
h5_readFlash.cpp
|
||||||
loadFlash.cpp
|
loadFlash.cpp
|
||||||
)
|
)
|
||||||
|
add_dependencies(CosmoHDF5 ${cosmotool_DEPS})
|
||||||
set_property(TARGET CosmoHDF5 PROPERTY POSITION_INDEPENDENT_CODE ${BUILD_SHARED_LIBS})
|
set_property(TARGET CosmoHDF5 PROPERTY POSITION_INDEPENDENT_CODE ${BUILD_SHARED_LIBS})
|
||||||
target_include_directories(CosmoHDF5 BEFORE PRIVATE ${HDF5_INCLUDE_DIR})
|
target_include_directories(CosmoHDF5 BEFORE PRIVATE ${HDF5_INCLUDE_DIR})
|
||||||
else(HDF5_FOUND)
|
else(HDF5_FOUND)
|
||||||
|
Loading…
Reference in New Issue
Block a user