summaryrefslogtreecommitdiffstats
path: root/config
diff options
context:
space:
mode:
authorAllen Byrne <byrn@hdfgroup.org>2018-01-10 20:42:11 (GMT)
committerAllen Byrne <byrn@hdfgroup.org>2018-01-10 20:42:11 (GMT)
commita88e5a95e0608471ff91c6e0d072d5e2014a80f2 (patch)
tree84fe2337558d03e58f81fa4a96844c7b2f1e699e /config
parente994a90cdf664113b443aa93a83b8bed0159d2f3 (diff)
downloadhdf5-a88e5a95e0608471ff91c6e0d072d5e2014a80f2.zip
hdf5-a88e5a95e0608471ff91c6e0d072d5e2014a80f2.tar.gz
hdf5-a88e5a95e0608471ff91c6e0d072d5e2014a80f2.tar.bz2
HDFFV-10385 only multi-config builders need a folder
Diffstat (limited to 'config')
-rw-r--r--config/cmake_ext_mod/HDFMacros.cmake3
1 files changed, 1 insertions, 2 deletions
diff --git a/config/cmake_ext_mod/HDFMacros.cmake b/config/cmake_ext_mod/HDFMacros.cmake
index 4c2aeb9..96febde 100644
--- a/config/cmake_ext_mod/HDFMacros.cmake
+++ b/config/cmake_ext_mod/HDFMacros.cmake
@@ -16,12 +16,11 @@ macro (SET_HDF5_BUILD_TYPE)
set(HDF5_BUILD_TYPE ${CMAKE_CFG_INTDIR})
set(HDF5_CFG_BUILD_TYPE \${CMAKE_INSTALL_CONFIG_NAME})
else()
+ set(HDF5_CFG_BUILD_TYPE ".")
if(CMAKE_BUILD_TYPE)
set(HDF5_BUILD_TYPE ${CMAKE_BUILD_TYPE})
- set(HDF5_CFG_BUILD_TYPE ${CMAKE_BUILD_TYPE})
else()
set(HDF5_BUILD_TYPE "Release")
- set(HDF5_CFG_BUILD_TYPE "Release")
endif()
endif()
endmacro ()