]> granicus.if.org Git - graphviz/commit
CMake: [nfc] standardize 'if' style
authorMatthew Fernandez <matthew.fernandez@gmail.com>
Wed, 24 Nov 2021 03:35:27 +0000 (19:35 -0800)
committerMatthew Fernandez <matthew.fernandez@gmail.com>
Tue, 30 Nov 2021 04:43:50 +0000 (20:43 -0800)
commit45cee099e0d2cd45843ba2d31b6ab9bf08916fcc
treecd4c84c497b61c568c6608944471f9db15667ac4
parente8fc9af14c5b223b5abe55f0dba811eeb9c15a4f
CMake: [nfc] standardize 'if' style

The if-style used in CMake files had no consistency. Meanwhile, the expression
in a CMake `endif` is ignored. We learned in the process of constructing the
prior commit that this is supported right back to CMake 3.1. So this commit
standardizes on no-space, no-expression if-style.
25 files changed:
CMakeLists.txt
cmake/FindANN.cmake
cmake/FindCairo.cmake
cmake/FindGD.cmake
cmake/FindGetopt.cmake
cmake/FindLTDL.cmake
cmake/FindPangoCairo.cmake
cmake/config_checks.cmake
cmake/configure_plugins.cmake
cmake/package_info.cmake
cmd/tools/CMakeLists.txt
lib/CMakeLists.txt
lib/common/CMakeLists.txt
lib/gvc/CMakeLists.txt
lib/gvpr/CMakeLists.txt
lib/mingle/CMakeLists.txt
lib/neatogen/CMakeLists.txt
lib/ortho/CMakeLists.txt
lib/sfdpgen/CMakeLists.txt
lib/topfish/CMakeLists.txt
lib/vpsc/CMakeLists.txt
plugin/gd/CMakeLists.txt
plugin/gdiplus/CMakeLists.txt
plugin/neato_layout/CMakeLists.txt
plugin/pango/CMakeLists.txt