From 4d153efde354e8463bc634a1fd9c477d0bf04061 Mon Sep 17 00:00:00 2001 From: Alexey Sokolov Date: Thu, 13 Mar 2025 20:39:50 +0000 Subject: dev-cpp/sol2: add 3.5.0 Signed-off-by: Alexey Sokolov Signed-off-by: Sam James --- dev-cpp/sol2/files/sol2-3.5.0-catch-depend.patch | 16 ++++++++++++++++ 1 file changed, 16 insertions(+) create mode 100644 dev-cpp/sol2/files/sol2-3.5.0-catch-depend.patch (limited to 'dev-cpp/sol2/files/sol2-3.5.0-catch-depend.patch') diff --git a/dev-cpp/sol2/files/sol2-3.5.0-catch-depend.patch b/dev-cpp/sol2/files/sol2-3.5.0-catch-depend.patch new file mode 100644 index 000000000000..1b5c4f1de1af --- /dev/null +++ b/dev-cpp/sol2/files/sol2-3.5.0-catch-depend.patch @@ -0,0 +1,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} -- cgit v1.2.3