From 1f8573b4e979eeb4d5988ef79d24d11cdf221627 Mon Sep 17 00:00:00 2001 From: Thomas Beutlich Date: Fri, 25 Oct 2024 20:09:32 +0200 Subject: [PATCH 1/2] Remove CTest --- CMakeLists.txt | 2 -- tests/CMakeLists.txt | 2 +- 2 files changed, 1 insertion(+), 3 deletions(-) diff --git a/CMakeLists.txt b/CMakeLists.txt index 5887924..838060c 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -292,8 +292,6 @@ if(BUILD_TESTING) ) declare_test_executable(test3 "dbfadd;dbfcreate;dbfdump;shpadd;shpcreate;shpdump") - include(CTest) - add_subdirectory(tests) endif() diff --git a/tests/CMakeLists.txt b/tests/CMakeLists.txt index b9fcaf2..b6533f0 100644 --- a/tests/CMakeLists.txt +++ b/tests/CMakeLists.txt @@ -1,4 +1,4 @@ -# CMake configuration for SHP C++ unit tests +# CMake configuration for C++ unit tests project(${CMAKE_PROJECT_NAME}Tests CXX) From a768b99d2363d4f92daac98de407a827e1ac6703 Mon Sep 17 00:00:00 2001 From: Thomas Beutlich Date: Fri, 25 Oct 2024 20:13:32 +0200 Subject: [PATCH 2/2] Fix benchmark dependency --- tests/CMakeLists.txt | 1 - 1 file changed, 1 deletion(-) diff --git a/tests/CMakeLists.txt b/tests/CMakeLists.txt index b6533f0..122a713 100644 --- a/tests/CMakeLists.txt +++ b/tests/CMakeLists.txt @@ -9,7 +9,6 @@ FetchContent_Declare( benchmark GIT_REPOSITORY https://github.com/google/benchmark.git GIT_TAG c19cfee61e136effb05a7fc8a037b0db3b13bd4c - GIT_SHALLOW TRUE ) FetchContent_Declare(