diff --git a/otfmi/function_exporter.py b/otfmi/function_exporter.py index 917a6e8..eb3dea2 100644 --- a/otfmi/function_exporter.py +++ b/otfmi/function_exporter.py @@ -447,8 +447,7 @@ def _build_cwrapper(self, verbose): """ cmake_args = ["cmake", "."] if sys.platform.startswith("win"): - cmake_args.insert(1, "-DCMAKE_GENERATOR_PLATFORM=Win32") - print("workdir=", self.workdir) + cmake_args.insert(1, "-DCMAKE_GENERATOR_PLATFORM=x64") subprocess.run( cmake_args, capture_output=not verbose, cwd=self.workdir, check=True )