cmake: Fix inconsistent endif() argument

The argument in the corresponding if() was changed in
commit ae76a38. CMake emits a warning.
Modern CMake style guides advice on ommitting endif()
arguments.
This commit is contained in:
Christoph Grüninger 2024-01-07 13:52:25 +01:00 committed by Ben Clayton
parent bb059f0daf
commit 5857b55c15

View File

@ -66,7 +66,7 @@ if(CPPDAP_BUILD_TESTS AND NOT CPPDAP_USE_EXTERNAL_GTEST_PACKAGE)
message(WARNING "Run: `git submodule update --init` to build tests.")
set(CPPDAP_BUILD_TESTS OFF)
endif()
endif(CPPDAP_BUILD_TESTS)
endif()
###########################################################
# JSON library