Skip to content

Commit 75ecca4

Browse files
committed
Changed CMake generator for Python bindings to VS 2019
'Win64' is no longer needed - it's the default for the VS2019 and later generators.
1 parent 9f1c11e commit 75ecca4

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

setup.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -44,7 +44,7 @@ def build_extension(self, ext):
4444
build_args = ['--config', cfg]
4545

4646
if platform.system() == "Windows":
47-
cmake_args += ['-G', 'Visual Studio 15 2017 Win64']
47+
cmake_args += ['-G', 'Visual Studio 16 2019']
4848
cmake_args += ['-DCMAKE_LIBRARY_OUTPUT_DIRECTORY_{}={}'.format(cfg.upper(), extdir)]
4949
build_args += ['--', '/m']
5050
else:

0 commit comments

Comments
 (0)