summaryrefslogtreecommitdiffstats
path: root/fortran/src
diff options
context:
space:
mode:
authorAllen Byrne <byrn@hdfgroup.org>2018-01-10 20:35:00 (GMT)
committerAllen Byrne <byrn@hdfgroup.org>2018-01-10 20:35:00 (GMT)
commit9956b151e005fa98e28926cbbb3565afb85b1d06 (patch)
treed224cddb0073238d73fc2817aaf0dfd741619a13 /fortran/src
parent681047269b27d0f1be33827362ff823f919c593b (diff)
downloadhdf5-9956b151e005fa98e28926cbbb3565afb85b1d06.zip
hdf5-9956b151e005fa98e28926cbbb3565afb85b1d06.tar.gz
hdf5-9956b151e005fa98e28926cbbb3565afb85b1d06.tar.bz2
HDFFV-10385 multi-config builders need folder set
Diffstat (limited to 'fortran/src')
-rw-r--r--fortran/src/CMakeLists.txt4
1 files changed, 2 insertions, 2 deletions
diff --git a/fortran/src/CMakeLists.txt b/fortran/src/CMakeLists.txt
index 030cb37..c377d62 100644
--- a/fortran/src/CMakeLists.txt
+++ b/fortran/src/CMakeLists.txt
@@ -66,10 +66,10 @@ set_target_properties (H5_buildiface PROPERTIES
if (BUILD_SHARED_LIBS)
file (MAKE_DIRECTORY "${HDF5_F90_BINARY_DIR}/shared")
- set (MODSH_BUILD_DIR ${CMAKE_Fortran_MODULE_DIRECTORY}/shared)
+ set (MODSH_BUILD_DIR ${CMAKE_Fortran_MODULE_DIRECTORY}/shared/${HDF5_CFG_BUILD_TYPE})
endif ()
file (MAKE_DIRECTORY "${HDF5_F90_BINARY_DIR}/static")
-set (MOD_BUILD_DIR ${CMAKE_Fortran_MODULE_DIRECTORY}/static)
+set (MOD_BUILD_DIR ${CMAKE_Fortran_MODULE_DIRECTORY}/static/${HDF5_CFG_BUILD_TYPE})
INCLUDE_DIRECTORIES (${HDF5_F90_BINARY_DIR} ${CMAKE_Fortran_MODULE_DIRECTORY})