aboutsummaryrefslogtreecommitdiff
path: root/test/CMakeLists.txt
diff options
context:
space:
mode:
authorcrupest <crupest@outlook.com>2023-10-14 22:22:45 +0800
committercrupest <crupest@outlook.com>2023-10-14 22:22:45 +0800
commit9ec7c364ce8681305910b728588913f2b11cfbe6 (patch)
treea96a09db3338fb08a7af145590aac78617fe35be /test/CMakeLists.txt
parent2025756fab9103a3baa8999445e61628cfb9b392 (diff)
downloadcru-9ec7c364ce8681305910b728588913f2b11cfbe6.tar.gz
cru-9ec7c364ce8681305910b728588913f2b11cfbe6.tar.bz2
cru-9ec7c364ce8681305910b728588913f2b11cfbe6.zip
Fix test discovery cmake bug.
Diffstat (limited to 'test/CMakeLists.txt')
-rw-r--r--test/CMakeLists.txt2
1 files changed, 1 insertions, 1 deletions
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()