summaryrefslogtreecommitdiffstats
path: root/c++/examples/CMakeTests.cmake
diff options
context:
space:
mode:
authorAllen Byrne <50328838+byrnHDF@users.noreply.github.com>2024-03-05 17:07:16 (GMT)
committerGitHub <noreply@github.com>2024-03-05 17:07:16 (GMT)
commit0be892585a63a34d8dbe687c2cebdbff30809cce (patch)
tree83d9528271f21f3497e667546e68602bb0dc35f6 /c++/examples/CMakeTests.cmake
parent42c7e1d073d6e8070d5483bfdf30f5039a69b264 (diff)
downloadhdf5-0be892585a63a34d8dbe687c2cebdbff30809cce.zip
hdf5-0be892585a63a34d8dbe687c2cebdbff30809cce.tar.gz
hdf5-0be892585a63a34d8dbe687c2cebdbff30809cce.tar.bz2
Rename incorrectly named option (#4067)
* Rename incorrectly named option * Restore the correct uses of USING_MEMCHECKER * Update release note
Diffstat (limited to 'c++/examples/CMakeTests.cmake')
-rw-r--r--c++/examples/CMakeTests.cmake4
1 files changed, 2 insertions, 2 deletions
diff --git a/c++/examples/CMakeTests.cmake b/c++/examples/CMakeTests.cmake
index f710204..c74ffb5 100644
--- a/c++/examples/CMakeTests.cmake
+++ b/c++/examples/CMakeTests.cmake
@@ -43,7 +43,7 @@ set_tests_properties (CPP_ex-clean-objects PROPERTIES
)
foreach (example ${examples})
- if (HDF5_ENABLE_USING_MEMCHECKER)
+ if (HDF5_USING_ANALYSIS_TOOL)
add_test (NAME CPP_ex_${example} COMMAND ${CMAKE_CROSSCOMPILING_EMULATOR} $<TARGET_FILE:cpp_ex_${example}>)
else ()
add_test (NAME CPP_ex_${example} COMMAND "${CMAKE_COMMAND}"
@@ -95,7 +95,7 @@ set_tests_properties (CPP_ex_tutr-clean-objects PROPERTIES
)
foreach (example ${tutr_examples})
- if (HDF5_ENABLE_USING_MEMCHECKER)
+ if (HDF5_USING_ANALYSIS_TOOL)
add_test (NAME CPP_ex_${example} COMMAND ${CMAKE_CROSSCOMPILING_EMULATOR} $<TARGET_FILE:cpp_ex_${example}>)
else ()
add_test (NAME CPP_ex_${example} COMMAND "${CMAKE_COMMAND}"