diff --git a/setup.py b/setup.py index 94eaeb8..dc5f2a3 100644 --- a/setup.py +++ b/setup.py @@ -357,7 +357,8 @@ def build_extension(self, ext: CMakeExtension) -> None: "-DCMAKE_MSVC_RUNTIME_LIBRARY=MultiThreaded", "-DCMAKE_C_FLAGS=/MT", "-DCMAKE_CXX_FLAGS=/MT", - "-DCMAKE_WINDOWS_EXPORT_ALL_SYMBOLS=True" + "-DCMAKE_WINDOWS_EXPORT_ALL_SYMBOLS=ON", + "-DCMAKE_SUPPORT_WINDOWS_EXPORT_ALL_SYMBOLS=ON" ] if "CMAKE_ARGS" in os.environ: