summaryrefslogtreecommitdiffstats
path: root/hl
diff options
context:
space:
mode:
authorAllen Byrne <byrn@hdfgroup.org>2018-05-09 13:44:45 (GMT)
committerAllen Byrne <byrn@hdfgroup.org>2018-05-09 13:44:45 (GMT)
commit4069936ee48296216758a69cd5baccc04401c7b9 (patch)
tree5ade2f6794aec0d1e7d80f762ff08789f2fdae70 /hl
parent7aeebec9463d18c3040ba7fa37464c00b64ab75e (diff)
downloadhdf5-4069936ee48296216758a69cd5baccc04401c7b9.zip
hdf5-4069936ee48296216758a69cd5baccc04401c7b9.tar.gz
hdf5-4069936ee48296216758a69cd5baccc04401c7b9.tar.bz2
Add missing module_dir property
Diffstat (limited to 'hl')
-rw-r--r--hl/fortran/examples/CMakeLists.txt1
-rw-r--r--hl/fortran/test/CMakeLists.txt1
2 files changed, 2 insertions, 0 deletions
diff --git a/hl/fortran/examples/CMakeLists.txt b/hl/fortran/examples/CMakeLists.txt
index cc671f0..27971b2 100644
--- a/hl/fortran/examples/CMakeLists.txt
+++ b/hl/fortran/examples/CMakeLists.txt
@@ -32,6 +32,7 @@ foreach (example ${examples})
set_target_properties (hl_f90_ex_${example} PROPERTIES
LINKER_LANGUAGE Fortran
FOLDER examples/hl/fortran
+ Fortran_MODULE_DIRECTORY ${CMAKE_Fortran_MODULE_DIRECTORY}/static
)
endforeach ()
diff --git a/hl/fortran/test/CMakeLists.txt b/hl/fortran/test/CMakeLists.txt
index 0ee8d5b..6ee362d 100644
--- a/hl/fortran/test/CMakeLists.txt
+++ b/hl/fortran/test/CMakeLists.txt
@@ -37,6 +37,7 @@ macro (ADD_H5_FORTRAN_EXE file)
set_target_properties (hl_f90_${file} PROPERTIES
LINKER_LANGUAGE Fortran
FOLDER test/hl/fortran
+ Fortran_MODULE_DIRECTORY ${CMAKE_Fortran_MODULE_DIRECTORY}/static
)
if (BUILD_SHARED_LIBS)
add_executable (hl_f90_${file}-shared ${file}.F90)