Limit patching Catch2 to the newer @3:
version range (#42019)
This commit is contained in:
parent
277e1ff396
commit
349867c879
@ -122,6 +122,7 @@ class Catch2(CMakePackage):
|
|||||||
)
|
)
|
||||||
variant("shared", when="@3:", default=False, description="Build shared library")
|
variant("shared", when="@3:", default=False, description="Build shared library")
|
||||||
|
|
||||||
|
@when("@3:")
|
||||||
def patch(self):
|
def patch(self):
|
||||||
filter_file(
|
filter_file(
|
||||||
r"#include \<catch2",
|
r"#include \<catch2",
|
||||||
|
Loading…
Reference in New Issue
Block a user