From 5857b55c151c2efc1aea1ee0501e8d09f740d41b Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Christoph=20Gr=C3=BCninger?= Date: Sun, 7 Jan 2024 13:52:25 +0100 Subject: [PATCH] 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. --- CMakeLists.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/CMakeLists.txt b/CMakeLists.txt index 7292f3c..7328c58 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -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