diff options
author | Allen Byrne <byrn@hdfgroup.org> | 2018-01-18 22:54:55 (GMT) |
---|---|---|
committer | Allen Byrne <byrn@hdfgroup.org> | 2018-01-18 22:55:01 (GMT) |
commit | 0f5ada2e0819bc107b2da0fc7d9a93bc4cd5b200 (patch) | |
tree | 1cad6f42c10dba605cdc5e51ab1d45143ef7c9ca /test | |
parent | a2fbe6c7d835bb88645940c3f6191669d2df75eb (diff) | |
download | hdf5-0f5ada2e0819bc107b2da0fc7d9a93bc4cd5b200.zip hdf5-0f5ada2e0819bc107b2da0fc7d9a93bc4cd5b200.tar.gz hdf5-0f5ada2e0819bc107b2da0fc7d9a93bc4cd5b200.tar.bz2 |
HDFFV-10385 Refactor out CMAKE_BUILD_TYPE usage
Diffstat (limited to 'test')
-rw-r--r-- | test/CMakeTests.cmake | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/test/CMakeTests.cmake b/test/CMakeTests.cmake index 165b6d8..dd92065 100644 --- a/test/CMakeTests.cmake +++ b/test/CMakeTests.cmake @@ -1133,7 +1133,7 @@ if (HDF5_TEST_VFD) macro (CHECK_VFD_TEST vfdtest vfdname resultcode) if ("${vfdtest}" STREQUAL "flush1" OR "${vfdtest}" STREQUAL "flush2") if ("${vfdname}" STREQUAL "multi" OR "${vfdname}" STREQUAL "split") - if (NOT BUILD_SHARED_LIBS AND NOT CMAKE_BUILD_TYPE MATCHES Debug) + if (NOT BUILD_SHARED_LIBS AND NOT ${HDF5_CFG_NAME} MATCHES "Debug") add_test (NAME VFD-${vfdname}-${vfdtest} COMMAND "${CMAKE_COMMAND}" -D "TEST_PROGRAM=$<TARGET_FILE:${vfdtest}>" |