Skip to content

Commit 4b4ed00

Browse files
fix: set build_type
1 parent 230e790 commit 4b4ed00

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

setup.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -131,10 +131,10 @@ def run(self): # noqa: C901
131131
print("*" * 80)
132132
raise RuntimeError("CMake configuration failed!") from e
133133

134-
build_args = ["--"]
134+
build_args = ["--config", self.build_type]
135135

136136
try:
137-
print("Building SMPT library with CMake")
137+
print(f"Building SMPT library with CMake (config: {self.build_type})")
138138
subprocess.run(
139139
["cmake", "--build", "."] + build_args, cwd=build_temp, check=True
140140
)

0 commit comments

Comments
 (0)