From d259a1ef51b10172b5f4b717917f3a3fe0a04719 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Oliver=20St=C3=B6neberg?= Date: Mon, 7 Oct 2024 20:14:16 +0200 Subject: [PATCH] test/CMakeLists.txt: use `$` (#6871) --- 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()