mirror of
https://anongit.gentoo.org/git/repo/gentoo.git
synced 2025-12-16 15:14:38 +00:00
Signed-off-by: Alexey Sokolov <alexey+gentoo@asokolov.org> Closes: https://bugs.gentoo.org/864169 Closes: https://github.com/gentoo/gentoo/pull/27456 Signed-off-by: Ionen Wolkens <ionen@gentoo.org>
16 lines
376 B
Diff
16 lines
376 B
Diff
--- 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}
|