Skip to content

Commit 5db8ad4

Browse files
committed
Try using ninja for Windows build
1 parent aee16e6 commit 5db8ad4

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

build.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@
1717
# Detect platform and choose CMake generator
1818
system = platform.system()
1919
if system == "Windows":
20-
cmake_generator = ["-G", "Visual Studio 17 2022"]
20+
cmake_generator = ["-G", "Ninja", "-D", "CMAKE_C_COMPILER=cl", "-D", "CMAKE_CXX_COMPILER=cl"]
2121
else:
2222
cmake_generator = ["-G", "Ninja"]
2323

0 commit comments

Comments
 (0)