summaryrefslogtreecommitdiffstats
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
parent7aeebec9463d18c3040ba7fa37464c00b64ab75e (diff)
downloadhdf5-4069936ee48296216758a69cd5baccc04401c7b9.zip
hdf5-4069936ee48296216758a69cd5baccc04401c7b9.tar.gz
hdf5-4069936ee48296216758a69cd5baccc04401c7b9.tar.bz2
Add missing module_dir property
-rw-r--r--fortran/testpar/CMakeLists.txt1
-rw-r--r--hl/fortran/examples/CMakeLists.txt1
-rw-r--r--hl/fortran/test/CMakeLists.txt1
3 files changed, 3 insertions, 0 deletions
diff --git a/fortran/testpar/CMakeLists.txt b/fortran/testpar/CMakeLists.txt
index bfb2495..0fe641f 100644
--- a/fortran/testpar/CMakeLists.txt
+++ b/fortran/testpar/CMakeLists.txt
@@ -41,6 +41,7 @@ endif()
set_target_properties (parallel_test PROPERTIES
FOLDER test/fortran
LINKER_LANGUAGE Fortran
+ Fortran_MODULE_DIRECTORY ${CMAKE_Fortran_MODULE_DIRECTORY}/static
)
endif ()
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)