summaryrefslogtreecommitdiffstats
path: root/hl/fortran
diff options
context:
space:
mode:
authorAllen Byrne <byrn@hdfgroup.org>2016-09-21 17:22:16 (GMT)
committerAllen Byrne <byrn@hdfgroup.org>2016-09-21 17:22:16 (GMT)
commit583af563d9f7eb8cedba6a8bb12d3218f55addf6 (patch)
tree7c2f297900393d867560885664b8fd604e421143 /hl/fortran
parenta25cf226632b039d8f97839bb160f229fd7d5286 (diff)
downloadhdf5-583af563d9f7eb8cedba6a8bb12d3218f55addf6.zip
hdf5-583af563d9f7eb8cedba6a8bb12d3218f55addf6.tar.gz
hdf5-583af563d9f7eb8cedba6a8bb12d3218f55addf6.tar.bz2
Add missing target depends command
Diffstat (limited to 'hl/fortran')
-rw-r--r--hl/fortran/src/CMakeLists.txt2
1 files changed, 2 insertions, 0 deletions
diff --git a/hl/fortran/src/CMakeLists.txt b/hl/fortran/src/CMakeLists.txt
index ead8aec..774aa7c 100644
--- a/hl/fortran/src/CMakeLists.txt
+++ b/hl/fortran/src/CMakeLists.txt
@@ -185,6 +185,7 @@ if (WIN32)
)
endif (WIN32)
set (install_targets ${install_targets} ${HDF5_HL_F90_LIB_TARGET})
+add_dependencies(${HDF5_HL_F90_LIB_TARGET} H5HLgen)
if (BUILD_SHARED_LIBS AND NOT SKIP_HDF5_FORTRAN_SHARED)
add_library (${HDF5_HL_F90_LIBSH_TARGET} SHARED ${HDF5_HL_F90_F_SOURCES_SHARED})
@@ -209,6 +210,7 @@ if (BUILD_SHARED_LIBS AND NOT SKIP_HDF5_FORTRAN_SHARED)
)
endif (WIN32)
set (install_targets ${install_targets} ${HDF5_HL_F90_LIBSH_TARGET})
+ add_dependencies(${HDF5_HL_F90_LIBSH_TARGET} H5HLgenSH)
endif (BUILD_SHARED_LIBS AND NOT SKIP_HDF5_FORTRAN_SHARED)
#-----------------------------------------------------------------------------