diff --git a/setup.py b/setup.py index 6d7961233..cc3f69bf8 100644 --- a/setup.py +++ b/setup.py @@ -50,6 +50,7 @@ def build_extension(self, ext: CMakeExtension) -> None: # from Python. cmake_args = [ f"-DCMAKE_LIBRARY_OUTPUT_DIRECTORY={extdir}{os.sep}", + f"-DCMAKE_ARCHIVE_OUTPUT_DIRECTORY={extdir}{os.sep}", f"-DPYTHON_EXECUTABLE={sys.executable}", f"-DCMAKE_BUILD_TYPE={cfg}", # not used on MSVC, but no harm f"-DMANIFOLD_PAR=TBB"