Skip to content

Commit

Permalink
does calling install help?
Browse files Browse the repository at this point in the history
  • Loading branch information
pca006132 committed Aug 12, 2023
1 parent ff1a9a1 commit 6519823
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -54,7 +54,10 @@ def build_extension(self, ext: CMakeExtension) -> None:
f"-DCMAKE_BUILD_TYPE={cfg}", # not used on MSVC, but no harm
f"-DMANIFOLD_PAR=TBB"
]
build_args = []
if self.compiler.compiler_type != "msvc":
build_args = ["--target", "install"]
else:
build_args = ["--target", "INSTALL"]
# Adding CMake arguments set as environment variable
# (needed e.g. to build for ARM OSx on conda-forge)
if "CMAKE_ARGS" in os.environ:
Expand Down

0 comments on commit 6519823

Please sign in to comment.