gentoo-ebuilds/dev-cpp/sol2/files/sol2-3.5.0-catch-depend.patch
Alexey Sokolov 4d153efde3
dev-cpp/sol2: add 3.5.0
Signed-off-by: Alexey Sokolov <alexey+gentoo@asokolov.org>
Signed-off-by: Sam James <sam@gentoo.org>
2025-03-14 08:10:30 +00:00

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}