From 5c70b418f3290a7363ebee35760cf5f98a66ffc8 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Jo=C3=A3o=20Matos?= Date: Sat, 30 Dec 2017 21:54:58 +0000 Subject: [PATCH] Update VS check when downloading pre-compiled LLVM packages. Fixes https://github.com/mono/CppSharp/issues/1032. --- build/scripts/LLVM.lua | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/build/scripts/LLVM.lua b/build/scripts/LLVM.lua index 4ce1faf6..286a9065 100644 --- a/build/scripts/LLVM.lua +++ b/build/scripts/LLVM.lua @@ -173,7 +173,7 @@ local archive_ext = use_7zip and ".7z" or ".tar.xz" function download_llvm() local toolset = get_toolset_configuration_name() - if toolset == "vs2012" or toolset == "vs2013" then + if toolset == "vs2012" or toolset == "vs2013" or toolset == "vs2015" then error("Pre-compiled LLVM packages for your VS version are not available.\n" .. "Please upgrade to a newer VS version or compile LLVM manually.") end