From 6918367e638986b814c14ac21604e4b0467e3d9b Mon Sep 17 00:00:00 2001 From: Matthew Fernandez Date: Tue, 1 Feb 2022 14:55:01 +1100 Subject: [PATCH] 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_]+` --- cmd/dot/CMakeLists.txt | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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() -- 2.40.0