From a03b331f49fcc04535b1a622c7d51a1457590d82 Mon Sep 17 00:00:00 2001 From: pca006132 Date: Sat, 12 Aug 2023 20:48:45 +0800 Subject: [PATCH] static archive? --- setup.py | 1 + 1 file changed, 1 insertion(+) 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"