HDFFV-10385 Refactor use of CMAKE_BUILD_TYPE

This commit is contained in:
Allen Byrne
2018-01-08 16:04:46 -06:00
parent ca327ba1c4
commit 49479589d3
25 changed files with 120 additions and 86 deletions

View File

@@ -62,7 +62,7 @@ foreach (HDFJAVA_JAR ${CMAKE_JAVA_INCLUDE_PATH})
endforeach ()
MACRO (ADD_H5_TEST resultfile resultcode)
if (CMAKE_BUILD_TYPE MATCHES Debug)
if (HDF5_BUILD_TYPE MATCHES Debug)
if (WIN32)
set (CMD_ARGS "-Dhdf.hdf5lib.H5.loadLibraryName=hdf5_java_D;")
else ()