summaryrefslogtreecommitdiffstats
path: root/config/cmake_ext_mod
diff options
context:
space:
mode:
authorAllen Byrne <byrn@hdfgroup.org>2019-01-27 22:55:39 (GMT)
committerAllen Byrne <byrn@hdfgroup.org>2019-01-27 22:55:39 (GMT)
commitf26ee27b1fd85d192b37d9e45fb6d20f1b7e23db (patch)
treeb25741432a201a79efcc72ac3bc6c02c84e3926c /config/cmake_ext_mod
parent7447f636a4984d6bc630b7565f618ba1583b6f41 (diff)
downloadhdf5-f26ee27b1fd85d192b37d9e45fb6d20f1b7e23db.zip
hdf5-f26ee27b1fd85d192b37d9e45fb6d20f1b7e23db.tar.gz
hdf5-f26ee27b1fd85d192b37d9e45fb6d20f1b7e23db.tar.bz2
Revert build name setting
Diffstat (limited to 'config/cmake_ext_mod')
-rw-r--r--config/cmake_ext_mod/HDFMacros.cmake2
1 files changed, 1 insertions, 1 deletions
diff --git a/config/cmake_ext_mod/HDFMacros.cmake b/config/cmake_ext_mod/HDFMacros.cmake
index b3d97ce..2f4ce52 100644
--- a/config/cmake_ext_mod/HDFMacros.cmake
+++ b/config/cmake_ext_mod/HDFMacros.cmake
@@ -14,7 +14,7 @@
macro (SET_HDF_BUILD_TYPE)
get_property(_isMultiConfig GLOBAL PROPERTY GENERATOR_IS_MULTI_CONFIG)
if(_isMultiConfig)
- set(HDF_CFG_NAME \${CTEST_CONFIGURATION_TYPE})
+ set(HDF_CFG_NAME ${CMAKE_BUILD_TYPE})
set(HDF_BUILD_TYPE ${CMAKE_CFG_INTDIR})
set(HDF_CFG_BUILD_TYPE \${CMAKE_INSTALL_CONFIG_NAME})
else()