Skip to content

Commit

Permalink
Lower visual studio version
Browse files Browse the repository at this point in the history
  • Loading branch information
bobcao3 authored and taichi-gardener committed Dec 15, 2022
1 parent 3b37e7e commit d4f3230
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -126,7 +126,7 @@ def get_cmake_args():
if (os.getenv('TAICHI_USE_MSBUILD', '0') in ('1', 'ON')):
use_msbuild = True
if use_msbuild:
build_options.extend(['-G', 'Visual Studio 17 2022'])
build_options.extend(['-G', 'Visual Studio 16 2019'])
else:
build_options.extend(['-G', 'Ninja', '--skip-generator-test'])
sys.argv[2:2] = build_options
Expand Down

0 comments on commit d4f3230

Please sign in to comment.