From 88b5f6a53568ab7b96b9277b281073e60735b71d Mon Sep 17 00:00:00 2001 From: YAMAMOTO Takashi Date: Wed, 7 May 2025 12:32:29 +0900 Subject: [PATCH] samples/wasm-c-api: remove unused valgrind detection (#4249) - it's unused - valgrind is basically a linux-only software. it isn't a good idea to make it a hard requirement. if we want to use valgrind, it's better to introduce a separate option to control it. --- samples/wasm-c-api/CMakeLists.txt | 9 --------- 1 file changed, 9 deletions(-) diff --git a/samples/wasm-c-api/CMakeLists.txt b/samples/wasm-c-api/CMakeLists.txt index 19c601889..06dc92d5e 100644 --- a/samples/wasm-c-api/CMakeLists.txt +++ b/samples/wasm-c-api/CMakeLists.txt @@ -205,12 +205,3 @@ foreach(EX ${EXAMPLES}) WORKING_DIRECTORY ${CMAKE_CURRENT_BINARY_DIR} ) endforeach() - -if (CMAKE_BUILD_TYPE STREQUAL "Debug") - find_program(VALGRIND - valgrind - REQUIRED - ) - - # run `ctest -T memcheck -V --test-dir build` -endif()