summaryrefslogtreecommitdiffstats
path: root/fortran
diff options
context:
space:
mode:
authorAllen Byrne <byrn@hdfgroup.org>2016-10-10 17:26:12 (GMT)
committerAllen Byrne <byrn@hdfgroup.org>2016-10-10 17:26:12 (GMT)
commit4f90bb1732635e46b6dbfce0ebc697af3880ccb4 (patch)
tree40b8c0c6e89f9d8043434f52997c0185e3bfc6ef /fortran
parent0815385a1a46467af8e81d9bab8bb665a197a67c (diff)
downloadhdf5-4f90bb1732635e46b6dbfce0ebc697af3880ccb4.zip
hdf5-4f90bb1732635e46b6dbfce0ebc697af3880ccb4.tar.gz
hdf5-4f90bb1732635e46b6dbfce0ebc697af3880ccb4.tar.bz2
Correct usuage of cmake variable
Diffstat (limited to 'fortran')
-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 7ea9815..c62bb37 100644
--- a/fortran/src/CMakeLists.txt
+++ b/fortran/src/CMakeLists.txt
@@ -117,13 +117,13 @@ add_custom_command (
if (BUILD_SHARED_LIBS AND NOT SKIP_HDF5_FORTRAN_SHARED)
if (WIN32)
- set (MODSH_BUILD_DIR ${CMAKE_Fortran_MODULE_DIRECTORY}/shared/\${CMAKE_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/\${CMAKE_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)