Skip to content

Update CMake build dependencies: Remove include(CTest) (/w enable_testing() still set) and fix Google Benchmark #162

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 2 commits into from
Oct 25, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 0 additions & 2 deletions CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -292,8 +292,6 @@ if(BUILD_TESTING)
)
declare_test_executable(test3 "dbfadd;dbfcreate;dbfdump;shpadd;shpcreate;shpdump")

include(CTest)

add_subdirectory(tests)
endif()

Expand Down
3 changes: 1 addition & 2 deletions tests/CMakeLists.txt
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# CMake configuration for SHP C++ unit tests
# CMake configuration for C++ unit tests

project(${CMAKE_PROJECT_NAME}Tests CXX)

Expand All @@ -9,7 +9,6 @@ FetchContent_Declare(
benchmark
GIT_REPOSITORY https://github.com/google/benchmark.git
GIT_TAG c19cfee61e136effb05a7fc8a037b0db3b13bd4c
GIT_SHALLOW TRUE
)

FetchContent_Declare(
Expand Down