From b86450db492a8d1aa46b0ea7ce259aec56a49692 Mon Sep 17 00:00:00 2001 From: firewave Date: Thu, 29 Aug 2024 14:10:22 +0200 Subject: [PATCH] test/CMakeLists.txt: use `$` --- test/CMakeLists.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/test/CMakeLists.txt b/test/CMakeLists.txt index c82c339d595..4c1d977e6af 100644 --- a/test/CMakeLists.txt +++ b/test/CMakeLists.txt @@ -79,7 +79,7 @@ if (BUILD_TESTS) if (${NAME} IN_LIST SKIP_TESTS) elseif(TEST ${NAME}) else() - add_test(NAME ${NAME} COMMAND testrunner ${NAME} WORKING_DIRECTORY ${CMAKE_RUNTIME_OUTPUT_DIRECTORY}) + add_test(NAME ${NAME} COMMAND $ ${NAME} WORKING_DIRECTORY ${CMAKE_RUNTIME_OUTPUT_DIRECTORY}) endif() endfunction()