From 9ec7c364ce8681305910b728588913f2b11cfbe6 Mon Sep 17 00:00:00 2001 From: crupest Date: Sat, 14 Oct 2023 22:22:45 +0800 Subject: Fix test discovery cmake bug. --- test/CMakeLists.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'test/CMakeLists.txt') diff --git a/test/CMakeLists.txt b/test/CMakeLists.txt index e4c7b79b..524b3dd0 100644 --- a/test/CMakeLists.txt +++ b/test/CMakeLists.txt @@ -11,7 +11,7 @@ function(cru_catch_discover_tests target) if (EMSCRIPTEN) message("Emscripten, not do catch_discover_tests for " ${target}) else() - catch_discover_tests(target) + catch_discover_tests(${target}) endif() endfunction() -- cgit v1.2.3