summaryrefslogtreecommitdiff
path: root/res/CMakeLists.txt
diff options
context:
space:
mode:
Diffstat (limited to 'res/CMakeLists.txt')
-rw-r--r--res/CMakeLists.txt4
1 files changed, 2 insertions, 2 deletions
diff --git a/res/CMakeLists.txt b/res/CMakeLists.txt
index 4969787..f823bec 100644
--- a/res/CMakeLists.txt
+++ b/res/CMakeLists.txt
@@ -29,16 +29,16 @@ add_library("turns::res" ALIAS "res")
# Tests
add_executable("res-tests"
- "tests/main.cpp"
"tests/windows.cpp"
)
-target_link_libraries("res-tests"
+target_link_libraries("res-tests" PRIVATE
"Catch2::Catch2"
"$<$<CXX_COMPILER_ID:GNU,Clang>:-Wl,--whole-archive>"
"turns::res"
"$<$<CXX_COMPILER_ID:GNU,Clang>:-Wl,--no-whole-archive>"
+ "turns::gtk-test-main"
)
catch_discover_tests("res-tests") \ No newline at end of file