Skip to content

Commit f994488

Browse files
committed
Try building with ninja on macOS
1 parent b35d5ca commit f994488

1 file changed

Lines changed: 2 additions & 4 deletions

File tree

build.py

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -16,11 +16,9 @@
1616

1717
# Detect platform and choose CMake generator
1818
system = platform.system()
19-
if system == "Darwin": # macOS
20-
cmake_generator = ["-G", "Xcode"]
21-
elif system == "Windows":
19+
if system == "Windows":
2220
cmake_generator = ["-G", "Visual Studio 17 2022"] # You can adjust this if using another version
23-
else: # Assume Linux
21+
else:
2422
cmake_generator = ["-G", "Ninja"]
2523

2624
# Load config.json

0 commit comments

Comments
 (0)