From a2aee3cf5c24477a89c1802e356425bced4eb72c Mon Sep 17 00:00:00 2001 From: itsmattkc Date: Mon, 20 Jan 2020 01:23:55 +1100 Subject: [PATCH] appveyor: get 64-bit packages and use vcpkg file in cmake --- appveyor-build.bat | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/appveyor-build.bat b/appveyor-build.bat index 051bf6895..c3ea7447a 100644 --- a/appveyor-build.bat +++ b/appveyor-build.bat @@ -1,6 +1,9 @@ REM Set up Visual Studio x64 environment call "C:\Program Files (x86)\Microsoft Visual Studio\2017\Community\VC\Auxiliary\Build\vcvars64.bat" +REM Install 64-bit +set VCPKG_DEFAULT_TRIPLET=x64-windows + REM Install Open*IO libraries vcpkg install opencolorio vcpkg install openimageio @@ -9,10 +12,9 @@ REM Integrate libraries cd c:\tools\vcpkg vcpkg integrate install cd %APPVEYOR_BUILD_FOLDER% -cmake -DCMAKE_TOOLCHAIN_FILE=c:/tools/vcpkg/scripts/buildsystems/vcpkg.cmake ... REM Run cmake -cmake -G "NMake Makefiles" . +cmake -G "NMake Makefiles" . -DCMAKE_TOOLCHAIN_FILE=c:/Tools/vcpkg/scripts/buildsystems/vcpkg.cmake REM Build with JOM C:\Qt\Tools\QtCreator\bin\jom.exe