We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 0a63bbd commit 429e79eCopy full SHA for 429e79e
test/test_installation.py
@@ -181,7 +181,10 @@ def install_umf(self) -> None:
181
f"Error: Installation directory '{self.install_dir}' is not empty"
182
)
183
184
- install_cmd = f"cmake --build {self.build_dir} --config {self.build_type.title()} --target install"
+ if platform.system() == "Windows":
185
+ install_cmd = f"cmake --install {self.build_dir} --config {self.build_type.title()} --prefix {self.install_dir}"
186
+ else:
187
+ install_cmd = f"cmake --build {self.build_dir} --config {self.build_type.title()} --target install"
188
189
try:
190
print(f"Running command: {install_cmd}", flush=True)
0 commit comments