Skip to content

Commit

Permalink
CMAKE_GENERATOR_PLATFORM=x64
Browse files Browse the repository at this point in the history
  • Loading branch information
jschueller committed Sep 28, 2023
1 parent 0487ba4 commit 15ff4f6
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions otfmi/function_exporter.py
Original file line number Diff line number Diff line change
Expand Up @@ -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
)
Expand Down

0 comments on commit 15ff4f6

Please sign in to comment.