From 2102be3259c14a1e4d94e8526894a16fd389f59d Mon Sep 17 00:00:00 2001 From: Allen Byrne Date: Wed, 14 Aug 2019 13:50:06 -0500 Subject: HDFFV-10879 fix test varname --- test/CMakeTests.cmake | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/test/CMakeTests.cmake b/test/CMakeTests.cmake index f763897..587af80 100644 --- a/test/CMakeTests.cmake +++ b/test/CMakeTests.cmake @@ -796,7 +796,7 @@ else () endif () #-- Adding test for error_test -if (HDF5_USE_16_API_DEFAULT OR MINGW) +if (DEFAULT_API_VERSION MATCHES "v16" OR MINGW) add_test (NAME H5TEST-error_test COMMAND "${CMAKE_COMMAND}" -D "TEST_EMULATOR=${CMAKE_CROSSCOMPILING_EMULATOR}" -D "TEST_PROGRAM=$" -- cgit v0.12