summaryrefslogtreecommitdiffstats
path: root/test
diff options
context:
space:
mode:
authorAllen Byrne <byrn@hdfgroup.org>2018-01-10 17:27:41 (GMT)
committerAllen Byrne <byrn@hdfgroup.org>2018-01-10 17:27:41 (GMT)
commite994a90cdf664113b443aa93a83b8bed0159d2f3 (patch)
treec22fa3642fea7126c93186928559b9a65c0c8846 /test
parent7bd06dccb543a35763a967e3f84f3c8d89f0c538 (diff)
downloadhdf5-e994a90cdf664113b443aa93a83b8bed0159d2f3.zip
hdf5-e994a90cdf664113b443aa93a83b8bed0159d2f3.tar.gz
hdf5-e994a90cdf664113b443aa93a83b8bed0159d2f3.tar.bz2
HDFFV-10385 fix CMAKE_BUILD_TYPE usage
Diffstat (limited to 'test')
-rw-r--r--test/CMakeTests.cmake2
1 files changed, 1 insertions, 1 deletions
diff --git a/test/CMakeTests.cmake b/test/CMakeTests.cmake
index 786ac0a..6af1606 100644
--- a/test/CMakeTests.cmake
+++ b/test/CMakeTests.cmake
@@ -810,7 +810,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_BUILD_TYPE MATCHES Debug)
add_test (NAME VFD-${vfdname}-${vfdtest}
COMMAND "${CMAKE_COMMAND}"
-D "TEST_PROGRAM=$<TARGET_FILE:${vfdtest}>"