blob: 8f53144ad37c0fb39a84e1d51ad85bff1c0de882 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
|
--- a/tests/CMakeLists.txt
+++ b/tests/CMakeLists.txt
@@ -23,12 +23,7 @@
# # # # sol2 tests
# # Dependencies
-FetchContent_Declare(
- catch2
- GIT_REPOSITORY https://github.com/catchorg/Catch2.git
- GIT_TAG devel
-)
-FetchContent_MakeAvailable(catch2)
+find_package(Catch2 REQUIRED)
function(sol2_add_test_properties target-name)
target_link_libraries(${target-name}
|