[CONFIGURE] Add VS 16.0 support.

This commit is contained in:
Raul Tambre 2019-02-24 12:59:14 +02:00 committed by Hermès Bélusca-Maïto
parent 989667f0c2
commit 3592ca6545
No known key found for this signature in database
GPG key ID: 3B2539C65E7B93D0

View file

@ -73,6 +73,7 @@ if defined ROS_ARCH (
cl 2>&1 | find "19.14." > NUL && set VS_VERSION=15
cl 2>&1 | find "19.15." > NUL && set VS_VERSION=15
cl 2>&1 | find "19.16." > NUL && set VS_VERSION=15
cl 2>&1 | find "19.20." > NUL && set VS_VERSION=16
if not defined VS_VERSION (
echo Error: Visual Studio version too old ^(before 10 ^(2010^)^) or version detection failed.
goto quit