From 65b3139ba94946aa4dd6517de04292656ffe106a Mon Sep 17 00:00:00 2001 From: Guilhem Lavaux Date: Fri, 2 Jul 2021 17:53:51 +0200 Subject: [PATCH] Add missing dependency --- src/CMakeLists.txt | 1 + 1 file changed, 1 insertion(+) diff --git a/src/CMakeLists.txt b/src/CMakeLists.txt index 4f39695..c075396 100644 --- a/src/CMakeLists.txt +++ b/src/CMakeLists.txt @@ -38,6 +38,7 @@ if (HDF5_FOUND) h5_readFlash.cpp loadFlash.cpp ) + add_dependencies(CosmoHDF5 ${cosmotool_DEPS}) set_property(TARGET CosmoHDF5 PROPERTY POSITION_INDEPENDENT_CODE ${BUILD_SHARED_LIBS}) target_include_directories(CosmoHDF5 BEFORE PRIVATE ${HDF5_INCLUDE_DIR}) else(HDF5_FOUND)