diff options
author | Egor Tensin <Egor.Tensin@gmail.com> | 2021-05-09 00:56:13 +0300 |
---|---|---|
committer | Egor Tensin <Egor.Tensin@gmail.com> | 2021-05-09 00:56:13 +0300 |
commit | 583620302a5d7a9577b342ff3c55926805f4ae23 (patch) | |
tree | 74150d49596a0db52e21eee19fa10eb54cb319f9 /project/configuration.py | |
parent | project.cmake: always enable CMAKE_EXPORT_COMPILE_COMMANDS (diff) | |
download | cmake-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 '')
-rw-r--r-- | project/configuration.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/project/configuration.py b/project/configuration.py index 5bfc317..3a2b2e2 100644 --- a/project/configuration.py +++ b/project/configuration.py @@ -54,7 +54,7 @@ class Configuration(Enum): return str(self) def cmake_build_type(self): - return ['-D', f'CMAKE_BUILD_TYPE={self.build_type()}'] + return [f'-DCMAKE_BUILD_TYPE={self.build_type()}'] def cmake_args(self): args = [] |