aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/project/build.py
diff options
context:
space:
mode:
authorEgor Tensin <egor@tensin.name>2026-10-09 16:49:25 +0500
committerEgor Tensin <egor@tensin.name>2026-10-09 16:58:00 +0500
commit21a16d5f91429cf2a61dcdae45c5448c096123d7 (patch)
tree8052fd16287a06c4d0fd564cb62cf44de0b60d76 /project/build.py
parentugprade to StrEnum (diff)
downloadcmake-common-21a16d5f91429cf2a61dcdae45c5448c096123d7.tar.gz
cmake-common-21a16d5f91429cf2a61dcdae45c5448c096123d7.zip
use the match statement
Diffstat (limited to 'project/build.py')
-rw-r--r--project/build.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/project/build.py b/project/build.py
index 1604ccd..692fefe 100644
--- a/project/build.py
+++ b/project/build.py
@@ -123,7 +123,7 @@ class BuildPhase:
def _cmake_args(self, toolset):
result = ["--build", self.build_dir]
- result += ["--config", str(self.configuration)]
+ result += ["--config", self.configuration]
if self.install_dir is not None:
result += ["--target", "install"]
result += ["--"] + toolset.build_system_args()