Skip to content

Commit

Permalink
Fix vcpkg cache in appveyor config
Browse files Browse the repository at this point in the history
  • Loading branch information
9prady9 committed Nov 17, 2018
1 parent 6a12786 commit 1ad9d15
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions appveyor.yml
Original file line number Diff line number Diff line change
Expand Up @@ -115,8 +115,7 @@ configuration:
# - Release

cache:
- C:/vcpkg/installed/ -> appveyor.yml
- C:/vcpkg/scripts/ -> appveyor.yml
- C:/vcpkg/ -> appveyor.yml

build:
parallel: true # enable MSBuild parallel builds
Expand All @@ -140,6 +139,6 @@ build_script:
- cd %APPVEYOR_BUILD_FOLDER%
- mkdir build
- cd build
- cmake %APPVEYOR_BUILD_FOLDER% -G "%generator%" -DCMAKE_INSTALL_PREFIX=%APPVEYOR_BUILD_FOLDER%/build/package -DBOOST_ROOT="%BOOST_ROOT%" -DCMAKE_TOOLCHAIN_FILE=c:/vcpkg/scripts/buildsystems/vcpkg.cmake -DFreeImage_ROOT="c:/vcpkg/installed/x64-windows"
- cmake %APPVEYOR_BUILD_FOLDER% -G "%generator%" -DCMAKE_INSTALL_PREFIX=%APPVEYOR_BUILD_FOLDER%/build/package -DBOOST_ROOT="%BOOST_ROOT%" -DCMAKE_TOOLCHAIN_FILE=c:/vcpkg/scripts/buildsystems/vcpkg.cmake -DFreeImage_ROOT="c:/vcpkg/installed/x64-windows" -DCMAKE_BUILD_TYPE:STRING=%configuration%
- cmake --build . --target ALL_BUILD --config %configuration% -- /nologo
- cmake --build . --target INSTALL --config %configuration% -- /nologo

0 comments on commit 1ad9d15

Please # to comment.