aboutsummaryrefslogtreecommitdiff
path: root/cmake
diff options
context:
space:
mode:
authordundargoc <33953936+dundargoc@users.noreply.github.com>2023-02-08 11:00:16 +0100
committerGitHub <noreply@github.com>2023-02-08 11:00:16 +0100
commit4d2c1004e96faad1179591b4409a75965af43985 (patch)
treef3c0e9b25106aeb1ee5a78d7aa8c01052a94ed92 /cmake
parent645daaf5e912ca8623a99dbc2cdbeb34d64a91f8 (diff)
downloadrneovim-4d2c1004e96faad1179591b4409a75965af43985.tar.gz
rneovim-4d2c1004e96faad1179591b4409a75965af43985.tar.bz2
rneovim-4d2c1004e96faad1179591b4409a75965af43985.zip
build: prefer -D <variable>=<value> over -D<variable>=<value> (#22164)
This makes it easier to see that -D is referring to the entire "<variable>=<value>", rather than only <variable>. It also help syntax highlighters highlight built-in variables.
Diffstat (limited to 'cmake')
-rw-r--r--cmake/WindowsDllCopy.cmake6
1 files changed, 3 insertions, 3 deletions
diff --git a/cmake/WindowsDllCopy.cmake b/cmake/WindowsDllCopy.cmake
index fbbabf3a0c..c07dc51b8a 100644
--- a/cmake/WindowsDllCopy.cmake
+++ b/cmake/WindowsDllCopy.cmake
@@ -6,13 +6,13 @@
# - CMAKE_PREFIX_PATH: A list of directories to search for dependencies
if(NOT DEFINED BINARY)
- message(FATAL_ERROR "Missing required argument -DBINARY=")
+ message(FATAL_ERROR "Missing required argument -D BINARY=")
endif()
if(NOT DEFINED DST)
- message(FATAL_ERROR "Missing required arguments -DDST=")
+ message(FATAL_ERROR "Missing required arguments -D DST=")
endif()
if(NOT DEFINED CMAKE_PREFIX_PATH)
- message(FATAL_ERROR "Missing required arguments -DCMAKE_PREFIX_PATH=")
+ message(FATAL_ERROR "Missing required arguments -D CMAKE_PREFIX_PATH=")
endif()
include(GetPrerequisites)