projects/guix·blob python-team · refs

46 lines · 1.4 KiB

1From bf99566d041b8131e263a879d83057dc6b0c5a6f Mon Sep 17 00:00:00 2001
2Message-ID: <bf99566d041b8131e263a879d83057dc6b0c5a6f.1780653867.git.csantosb@disroot.org>
3From: Cayetano Santos <[email protected]>
4Date: Fri, 5 Jun 2026 11:34:34 +0200
5Subject: [PATCH] test
6
7---
8 CMakeLists.txt | 24 +++++++++++++-----------
9 1 file changed, 13 insertions(+), 11 deletions(-)
10
11diff --git a/CMakeLists.txt b/CMakeLists.txt
12index bbb153e64..60f9aebdf 100644
13--- a/CMakeLists.txt
14+++ b/CMakeLists.txt
15@@ -117,14 +117,16 @@ set_property(TARGET libabc-pic PROPERTY OUTPUT_NAME abc-pic)
16
17 if(NOT DEFINED ABC_SKIP_TESTS)
18 enable_testing()
19- include(FetchContent)
20- FetchContent_Declare(
21- googletest
22- DOWNLOAD_EXTRACT_TIMESTAMP TRUE
23- # Specify the commit you depend on and update it regularly.
24- URL "https://github.com/google/googletest/archive/refs/tags/v1.14.0.zip"
25- )
26- FetchContent_MakeAvailable(googletest)
27- include(GoogleTest)
28- add_subdirectory(test)
29-endif()
30\ No newline at end of file
31+ # include(FetchContent)
32+ # FetchContent_Declare(
33+ # googletest
34+ # DOWNLOAD_EXTRACT_TIMESTAMP TRUE
35+ # # Specify the commit you depend on and update it regularly.
36+ # URL "https://github.com/google/googletest/archive/refs/tags/v1.14.0.zip"
37+ # )
38+ # FetchContent_MakeAvailable(googletest)
39+ # include(GoogleTest)
40+ find_package(GTest)
41+ add_library(gtest_main ALIAS GTest::gtest_main)
42+ add_subdirectory(test)
43+endif()
44--
452.54.0
46