From 858451e5b7d1c56cf8f6d58f88cf958351837e53 Mon Sep 17 00:00:00 2001 From: RedContritio Date: Sun, 6 Oct 2024 09:45:31 +0800 Subject: [PATCH] Fix endif condition to match `NOT MSVC and VALGRIND_FOUND`. --- test/unittest/CMakeLists.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/test/unittest/CMakeLists.txt b/test/unittest/CMakeLists.txt index 87c0468..9a369d4 100644 --- a/test/unittest/CMakeLists.txt +++ b/test/unittest/CMakeLists.txt @@ -92,4 +92,4 @@ if(NOT MSVC AND VALGRIND_FOUND) WORKING_DIRECTORY ${CMAKE_CURRENT_BINARY_DIR}) endif(CMAKE_BUILD_TYPE STREQUAL "Debug") -endif(NOT MSVC) +endif(NOT MSVC AND VALGRIND_FOUND)