summaryrefslogtreecommitdiff
path: root/dev-cpp/sol2/files/sol2-3.3.0-catch-depend.patch
diff options
context:
space:
mode:
authorAlexey Sokolov <alexey+gentoo@asokolov.org>2022-09-25 22:30:27 +0100
committerIonen Wolkens <ionen@gentoo.org>2022-09-26 05:34:09 -0400
commit9a6d9c1ece3205412ae0e6f3f36777ce7e203138 (patch)
treec0b08b8d1e3bdffcd1df609ca405632b3448a043 /dev-cpp/sol2/files/sol2-3.3.0-catch-depend.patch
parente6ff55cc55eb7e2b862326965ace1ac5b941c590 (diff)
downloadgentoo-9a6d9c1ece3205412ae0e6f3f36777ce7e203138.tar.gz
gentoo-9a6d9c1ece3205412ae0e6f3f36777ce7e203138.tar.bz2
gentoo-9a6d9c1ece3205412ae0e6f3f36777ce7e203138.zip
dev-cpp/sol2: add 3.3.0
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>
Diffstat (limited to 'dev-cpp/sol2/files/sol2-3.3.0-catch-depend.patch')
-rw-r--r--dev-cpp/sol2/files/sol2-3.3.0-catch-depend.patch16
1 files changed, 16 insertions, 0 deletions
diff --git a/dev-cpp/sol2/files/sol2-3.3.0-catch-depend.patch b/dev-cpp/sol2/files/sol2-3.3.0-catch-depend.patch
new file mode 100644
index 000000000000..8f53144ad37c
--- /dev/null
+++ b/dev-cpp/sol2/files/sol2-3.3.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}