Skip to content

Commit

Permalink
cmake: Fix inconsistent endif() argument
Browse files Browse the repository at this point in the history
The argument in the corresponding if() was changed in
commit ae76a38. CMake emits a warning.
Modern CMake style guides advice on ommitting endif()
arguments.
  • Loading branch information
gruenich authored and ben-clayton committed Jan 8, 2024
1 parent bb059f0 commit 5857b55
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 5857b55

Please sign in to comment.