From: Matthew Fernandez Date: Tue, 1 Feb 2022 03:55:01 +0000 (+1100) Subject: CMake: [nfc] uppercase 'dotlink' variable X-Git-Tag: 3.0.0~49^2~3 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=6918367e638986b814c14ac21604e4b0467e3d9b;p=graphviz CMake: [nfc] uppercase 'dotlink' variable Upcoming changes that introduce `cmake-format` checks complain that this identifier does not comply with `[A-Z][0-9A-Z_]+|_[0-9a-z_]+` --- diff --git a/cmd/dot/CMakeLists.txt b/cmd/dot/CMakeLists.txt index ff0f67b6a..6848feace 100644 --- a/cmd/dot/CMakeLists.txt +++ b/cmd/dot/CMakeLists.txt @@ -59,7 +59,7 @@ else() # ${CMAKE_CURRENT_BINARY_DIR}/dot is installed to ${BINARY_INSTALL_DIR}/dot. # There is a (small?) risk of dangling symlinks foreach(cmd_alias IN LISTS dot_aliases) - set(dotlink "${CMAKE_CURRENT_BINARY_DIR}/${cmd_alias}") + set(DOTLINK "${CMAKE_CURRENT_BINARY_DIR}/${cmd_alias}") add_custom_command( TARGET dot POST_BUILD @@ -69,7 +69,7 @@ else() COMMENT "Linking $ as ${cmd_alias}" ) install( - FILES ${dotlink} + FILES ${DOTLINK} DESTINATION ${BINARY_INSTALL_DIR} ) endforeach()