dev-python/conda-libmamba-solver: bump version to 24.11.1
[gentoo-zh.git] / dev-cpp / tl-expected / files / 1.0.0-use_system_catch.patch
blob170b6e156c463b252c9f6bb6194b4d7248bcc103
1 --- a/CMakeLists.txt 2022-11-24 21:54:26.000000000 +0200
2 +++ b/CMakeLists.txt 2023-01-06 21:25:39.745590017 +0200
3 @@ -8,7 +8,7 @@ project(tl-expected
4 include(CMakePackageConfigHelpers)
5 include(CMakeDependentOption)
6 include(GNUInstallDirs)
7 -include(FetchContent)
8 +#include(FetchContent)
9 include(CTest)
11 if (NOT DEFINED CMAKE_CXX_STANDARD)
12 @@ -67,9 +67,9 @@ if(EXPECTED_BUILD_TESTS)
13 set(CATCH_INSTALL_HELPERS OFF)
14 set(CATCH_BUILD_TESTING OFF)
15 set(CATCH_INSTALL_DOCS OFF)
16 - FetchContent_Declare(Catch2 URL
17 - https://github.com/catchorg/Catch2/archive/v2.13.10.zip)
18 - FetchContent_MakeAvailable(Catch2)
19 +# FetchContent_Declare(Catch2 URL
20 +# https://github.com/catchorg/Catch2/archive/v2.13.10.zip)
21 +# FetchContent_MakeAvailable(Catch2)
23 file(GLOB test-sources CONFIGURE_DEPENDS tests/*.cpp)
24 list(FILTER test-sources EXCLUDE REGEX "tests/test.cpp")