aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/project/toolset.py
diff options
context:
space:
mode:
authorEgor Tensin <Egor.Tensin@gmail.com>2021-05-09 00:56:13 +0300
committerEgor Tensin <Egor.Tensin@gmail.com>2021-05-09 00:56:13 +0300
commit583620302a5d7a9577b342ff3c55926805f4ae23 (patch)
tree74150d49596a0db52e21eee19fa10eb54cb319f9 /project/toolset.py
parentproject.cmake: always enable CMAKE_EXPORT_COMPILE_COMMANDS (diff)
downloadcmake-common-583620302a5d7a9577b342ff3c55926805f4ae23.tar.gz
cmake-common-583620302a5d7a9577b342ff3c55926805f4ae23.zip
project.cmake: use -DVAR instead of -D VAR
This should look prettier in the logs + it's explicitly allowed in the manual.
Diffstat (limited to 'project/toolset.py')
-rw-r--r--project/toolset.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/project/toolset.py b/project/toolset.py
index 7eeae76..136e6dd 100644
--- a/project/toolset.py
+++ b/project/toolset.py
@@ -491,7 +491,7 @@ class CMakeCustom(Toolset):
config_path = self._cmake_write_config(build_dir, contents)
return super().cmake_args(build_dir, platform) + [
- '-D', f'CMAKE_TOOLCHAIN_FILE={config_path}',
+ f'-DCMAKE_TOOLCHAIN_FILE={config_path}',
]