Skip to content

Commit 4652f81

Browse files
committed
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] ```
1 parent ce32274 commit 4652f81

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

appveyor.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -19,6 +19,7 @@ before_build:
1919
- echo "Running cmake..."
2020
- cd c:\projects\jsoncpp
2121
- cmake --version
22+
- set PATH=C:\Program Files (x86)\MSBuild\14.0\Bin;%PATH%
2223
- if %PLATFORM% == Win32 cmake .
2324
- if %PLATFORM% == x64 cmake -G "Visual Studio 12 2013 Win64" .
2425

0 commit comments

Comments
 (0)