summaryrefslogtreecommitdiffstats
path: root/fortran
diff options
context:
space:
mode:
authorAllen Byrne <byrn@hdfgroup.org>2016-09-21 17:22:53 (GMT)
committerAllen Byrne <byrn@hdfgroup.org>2016-09-21 17:22:53 (GMT)
commitbe3ad22522825d170e50a513c2937ca69799d82a (patch)
tree7c2f297900393d867560885664b8fd604e421143 /fortran
parentf240c5c4221473f6172c6c869bcb268cf7b36da3 (diff)
parent583af563d9f7eb8cedba6a8bb12d3218f55addf6 (diff)
downloadhdf5-be3ad22522825d170e50a513c2937ca69799d82a.zip
hdf5-be3ad22522825d170e50a513c2937ca69799d82a.tar.gz
hdf5-be3ad22522825d170e50a513c2937ca69799d82a.tar.bz2
Merge pull request #38 in HDFFV/hdf5 from ~BYRN/hdf5_adb:develop to develop
* commit '583af563d9f7eb8cedba6a8bb12d3218f55addf6': Add missing target depends command Correct clear objects working dir
Diffstat (limited to 'fortran')
-rw-r--r--fortran/test/CMakeLists.txt3
1 files changed, 3 insertions, 0 deletions
diff --git a/fortran/test/CMakeLists.txt b/fortran/test/CMakeLists.txt
index baf7369..219f937 100644
--- a/fortran/test/CMakeLists.txt
+++ b/fortran/test/CMakeLists.txt
@@ -148,6 +148,8 @@ if (WIN32)
COMPILE_DEFINITIONS "HDF5F90_WINDOWS"
)
endif (WIN32)
+add_dependencies(${HDF5_F90_TEST_LIB_TARGET} H5testgen)
+
if (BUILD_SHARED_LIBS AND NOT SKIP_HDF5_FORTRAN_SHARED)
add_library (${HDF5_F90_TEST_LIBSH_TARGET} SHARED ${HDF5_F90_TF_SOURCES_SHARED})
set (SHARED_LINK_FLAGS " ")
@@ -175,6 +177,7 @@ if (BUILD_SHARED_LIBS AND NOT SKIP_HDF5_FORTRAN_SHARED)
COMPILE_DEFINITIONS "BUILD_HDF5_TEST_DLL;HDF5F90_WINDOWS"
)
endif (WIN32)
+ add_dependencies(${HDF5_F90_TEST_LIBSH_TARGET} H5testgenSH)
endif (BUILD_SHARED_LIBS AND NOT SKIP_HDF5_FORTRAN_SHARED)
#-----------------------------------------------------------------------------