HDFFV-10385 mult-config builders need a folder

This commit is contained in:
Allen Byrne 2018-01-10 14:39:48 -06:00
parent 9cabaf09a8
commit 9b5bd45740
2 changed files with 2 additions and 3 deletions

View File

@ -285,7 +285,7 @@
#
# Example:
# create_javadoc(my_example_doc
# PACKAGES com.exmaple.foo com.example.bar
# PACKAGES com.example.foo com.example.bar
# SOURCEPATH "${CMAKE_CURRENT_SOURCE_DIR}"
# CLASSPATH ${CMAKE_JAVA_INCLUDE_PATH}
# WINDOWTITLE "My example"

View File

@ -17,12 +17,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 ()