summaryrefslogtreecommitdiffstats
path: root/fortran/src
diff options
context:
space:
mode:
authorAllen Byrne <byrn@hdfgroup.org>2016-10-10 17:32:06 (GMT)
committerAllen Byrne <byrn@hdfgroup.org>2016-10-10 17:32:06 (GMT)
commit052ca6a74199005efe7f324f2a3ac508b18cdc27 (patch)
tree7a996f9b0453ce2d58ed65dafd78ca7c65293e35 /fortran/src
parent517bccdbfb8875b960182995d6993bfc156379e8 (diff)
downloadhdf5-052ca6a74199005efe7f324f2a3ac508b18cdc27.zip
hdf5-052ca6a74199005efe7f324f2a3ac508b18cdc27.tar.gz
hdf5-052ca6a74199005efe7f324f2a3ac508b18cdc27.tar.bz2
Correct name and usage of cmake variable
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 d4ca791..c3af6ea 100644
--- a/fortran/src/CMakeLists.txt
+++ b/fortran/src/CMakeLists.txt
@@ -67,13 +67,13 @@ set_target_properties (H5_buildiface PROPERTIES
if (BUILD_SHARED_LIBS AND NOT SKIP_HDF5_FORTRAN_SHARED)
file (MAKE_DIRECTORY "${HDF5_F90_BINARY_DIR}/shared")
if (WIN32)
- set (MODSH_BUILD_DIR ${CMAKE_Fortran_MODULE_DIRECTORY}/shared/\${BUILD_TYPE})
+ set (MODSH_BUILD_DIR ${CMAKE_Fortran_MODULE_DIRECTORY}/shared/${CMAKE_BUILD_TYPE})
else (WIN32)
set (MODSH_BUILD_DIR ${CMAKE_Fortran_MODULE_DIRECTORY}/shared)
endif (WIN32)
endif (BUILD_SHARED_LIBS AND NOT SKIP_HDF5_FORTRAN_SHARED)
if (WIN32)
- set (MOD_BUILD_DIR ${CMAKE_Fortran_MODULE_DIRECTORY}/static/\${BUILD_TYPE})
+ set (MOD_BUILD_DIR ${CMAKE_Fortran_MODULE_DIRECTORY}/static/$CMAKE_BUILD_TYPE})
else (WIN32)
set (MOD_BUILD_DIR ${CMAKE_Fortran_MODULE_DIRECTORY}/static)
endif (WIN32)