From 4652f818fee737005eff731c6d1d285772b8f061 Mon Sep 17 00:00:00 2001 From: Christopher Dunn Date: Sat, 11 Jul 2015 10:46:24 -0500 Subject: [PATCH] fix appveyor 32-bit windows build * http://help.appveyor.com/discussions/problems/2229-v140-not-found-on-vs2105rc ``` Done Building Project "C:\projects\jsoncpp\jsoncpp.sln" (default targets) -- FAILED. Build FAILED. "C:\projects\jsoncpp\jsoncpp.sln" (default target) (1) -> "C:\projects\jsoncpp\ALL_BUILD.vcxproj.metaproj" (default target) (2) -> "C:\projects\jsoncpp\ZERO_CHECK.vcxproj" (default target) (3) -> (PlatformPrepareForBuild target) -> C:\Program Files (x86)\MSBuild\Microsoft.Cpp\v4.0\V120\Microsoft.Cpp.Platform.targets(64,5): error MSB8020: The build tools for v140 (Platform Toolset = 'v140') cannot be found. To build using the v140 build tools, please install v140 build tools. Alternatively, you may upgrade to the current Visual Studio tools by selecting the Project menu or right-click the solution, and then selecting "Upgrade Solution...". [C:\projects\jsoncpp\ZERO_CHECK.vcxproj] ``` --- appveyor.yml | 1 + 1 file changed, 1 insertion(+) diff --git a/appveyor.yml b/appveyor.yml index 546cb7ed1..f4966a34d 100644 --- a/appveyor.yml +++ b/appveyor.yml @@ -19,6 +19,7 @@ before_build: - echo "Running cmake..." - cd c:\projects\jsoncpp - cmake --version + - set PATH=C:\Program Files (x86)\MSBuild\14.0\Bin;%PATH% - if %PLATFORM% == Win32 cmake . - if %PLATFORM% == x64 cmake -G "Visual Studio 12 2013 Win64" .