Skip to content

Commit ab9c003

Browse files
author
Teseo Schneider
committed
fixed ninja setup
1 parent 64f948e commit ab9c003

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

setup.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -46,7 +46,7 @@ def build_extension(self, ext):
4646

4747
if platform.system() == "Windows":
4848
cmake_args += ['-DCMAKE_LIBRARY_OUTPUT_DIRECTORY_{}={}'.format(cfg.upper(), extdir)]
49-
if os.environ.get('CMAKE_GENERATOR') != "NMake Makefiles":
49+
if os.environ.get('CMAKE_GENERATOR') != "NMake Makefiles" and os.environ.get('CMAKE_GENERATOR') != "Ninja":
5050
if sys.maxsize > 2**32:
5151
cmake_args += ['-A', 'x64']
5252
# build_args += ['--', '/m']

0 commit comments

Comments
 (0)