summaryrefslogtreecommitdiffstats
path: root/fortran/test/CMakeLists.txt
diff options
context:
space:
mode:
authorM. Scot Breitenfeld <brtnfld@hdfgroup.org>2019-06-13 15:41:31 (GMT)
committerM. Scot Breitenfeld <brtnfld@hdfgroup.org>2019-06-13 15:41:31 (GMT)
commit92bebb782e7bdfb604079430c005dd8513272eb6 (patch)
treec9822d1fd74b8465944170212c97920bb0a68d2b /fortran/test/CMakeLists.txt
parentc348d7d6062f34554f8d432ea9d80bf2c936c734 (diff)
downloadhdf5-92bebb782e7bdfb604079430c005dd8513272eb6.zip
hdf5-92bebb782e7bdfb604079430c005dd8513272eb6.tar.gz
hdf5-92bebb782e7bdfb604079430c005dd8513272eb6.tar.bz2
fixed dependencies
Diffstat (limited to 'fortran/test/CMakeLists.txt')
-rw-r--r--fortran/test/CMakeLists.txt11
1 files changed, 9 insertions, 2 deletions
diff --git a/fortran/test/CMakeLists.txt b/fortran/test/CMakeLists.txt
index 719a9f3..921e29a 100644
--- a/fortran/test/CMakeLists.txt
+++ b/fortran/test/CMakeLists.txt
@@ -570,7 +570,11 @@ if (BUILD_SHARED_LIBS)
endif ()
#-- Adding test for vol_connector
-add_executable (vol_connector vol_connector.F90)
+add_executable (vol_connector
+ vol_connector.F90
+ tH5L_F03.F90
+ tHDF5_F03.F90)
+
target_include_directories (vol_connector
PRIVATE
${CMAKE_Fortran_MODULE_DIRECTORY}/static
@@ -600,7 +604,10 @@ set_target_properties (vol_connector PROPERTIES
add_dependencies (vol_connector ${HDF5_F90_TEST_LIB_TARGET})
if (BUILD_SHARED_LIBS)
- add_executable (vol_connector-shared vol_connector.F90)
+ add_executable (vol_connector-shared
+ vol_connector.F90
+ tH5L_F03.F90
+ tHDF5_F03.F90)
target_include_directories (vol_connector-shared
PRIVATE
${CMAKE_Fortran_MODULE_DIRECTORY}/shared