Commit 2fee9b39 authored by Ehsan Azarnasab's avatar Ehsan Azarnasab

use newest visual studio as generator if multiple installed

parent 61ec7aa8
...@@ -236,6 +236,7 @@ def get_msvc_win64_generator(): ...@@ -236,6 +236,7 @@ def get_msvc_win64_generator():
if ver > newest_ver: if ver > newest_ver:
newest_vs = gen_name newest_vs = gen_name
newest_ver = ver
if newest_vs: if newest_vs:
return ['-G', newest_vs + ' Win64'] return ['-G', newest_vs + ' Win64']
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment