From 8f03ca270d1aa5dcafa945c941cf52ff14cb47da Mon Sep 17 00:00:00 2001 Message-Id: <8f03ca270d1aa5dcafa945c941cf52ff14cb47da.1682600200.git.dev@jpoiret.xyz> From: Josselin Poiret Date: Thu, 27 Apr 2023 14:51:51 +0200 Subject: [PATCH] Use provided catch2 From: Josselin Poiret --- CMakeLists.txt | 10 +--------- 1 file changed, 1 insertion(+), 9 deletions(-) diff --git a/CMakeLists.txt b/CMakeLists.txt index ddab64e..2d5eac8 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -8,7 +8,6 @@ project(tl-expected include(CMakePackageConfigHelpers) include(CMakeDependentOption) include(GNUInstallDirs) -include(FetchContent) include(CTest) if (NOT DEFINED CMAKE_CXX_STANDARD) @@ -63,14 +62,7 @@ install(FILES install(DIRECTORY "include/" TYPE INCLUDE) if(EXPECTED_BUILD_TESTS) - set(CMAKE_POLICY_DEFAULT_CMP0077 NEW) - set(CATCH_INSTALL_HELPERS OFF) - set(CATCH_BUILD_TESTING OFF) - set(CATCH_INSTALL_DOCS OFF) - FetchContent_Declare(Catch2 URL - https://github.com/catchorg/Catch2/archive/v2.13.10.zip) - FetchContent_MakeAvailable(Catch2) - + find_package(Catch2 CONFIG) file(GLOB test-sources CONFIGURE_DEPENDS tests/*.cpp) list(FILTER test-sources EXCLUDE REGEX "tests/test.cpp") add_executable(${PROJECT_NAME}-tests "${test-sources}") -- 2.39.2 ref='/guix/commit/po/doc/guix-cookbook.de.po?id=31dc5e4bd0d3d41fb5e291b14789e4f2372d9fa1'>commitdiff
AgeCommit message (Expand)Author
2023-08-31nls: Update translations.Florian Pelz
2023-06-30nls: Update translations....* po/packages/ja.po: New file. * po/packages/LINGUAS: Add it. Florian Pelz
2023-05-31nls: Update translations....* doc/guix-cookbook.texi (Top): Mention Slovak. Florian Pelz
2023-03-07nls: Update translations.Julien Lepiller
2022-12-04nls: Update translations....po/packages/vi.po: New file. po/packages/LINGUAS: Add it. Julien Lepiller
2022-11-04nls: Update translations....* po/guix/lt.po: New file. * po/guix/LINGUAS: Add lt. Julien Lepiller
2022-10-06nls: Update translations.Julien Lepiller
2022-08-10nls: Update translations....po/guix/bn.po: New file. po/guix/LINGUAS: Add it. Julien Lepiller
2022-07-09nls: Update translations....po/guix/tr.po: New file. po/guix/LINGUAS: Add it. Julien Lepiller
2022-06-04nls: Update translations....po/packages/tr.po: New file. po/packages/LINGUAS: Add it. Julien Lepiller
2022-05-01nls: Update translations....po/guix/ja.po: New file. po/guix/LINGUAS: Add it. Julien Lepiller
2022-04-02nls: Update translations....* po/packages/fi.po: New file. * po/packages/LINGUAS: Add it. Julien Lepiller
2022-01-09nls: Update translations....* po/doc/guix-cookbook.fi.po: New file. * po/doc/guix-manual.fi.po: New file. * po/doc/local.mk: Add them. * doc/local.mk: Add them. * po/guix/fi.po: New file. * po/guix/LINGUAS: Add it. Julien Lepiller
2021-12-04nls: Update translations.Julien Lepiller