From 2366e4426e0ec8327c8e85aaec64bad26f903c31 Mon Sep 17 00:00:00 2001 From: Gary Wang Date: Tue, 17 Nov 2020 00:11:01 +0800 Subject: [PATCH] fix(ci): use Release build for libexiv and libexpat --- appveyor.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/appveyor.yml b/appveyor.yml index abd4d28..ecea5c5 100644 --- a/appveyor.yml +++ b/appveyor.yml @@ -39,7 +39,7 @@ build_script: - curl -fsSL -o R_2_2_10.zip https://github.com/libexpat/libexpat/archive/R_2_2_10.zip - 7z x R_2_2_10.zip -y - cd libexpat-R_2_2_10/expat/ - - cmake -G "Ninja" . -DCMAKE_INSTALL_PREFIX=%CMAKE_INSTALL_ROOT% -DCMAKE_CXX_FLAGS_RELEASE="-s" + - cmake -G "Ninja" . -DCMAKE_BUILD_TYPE=Release -DCMAKE_INSTALL_PREFIX=%CMAKE_INSTALL_ROOT% -DCMAKE_CXX_FLAGS_RELEASE="-s" - cmake --build . --target install - cd %APPVEYOR_BUILD_FOLDER% # build libexiv2 @@ -47,7 +47,7 @@ build_script: - curl -fsSL -o v0.27.3.zip https://github.com/Exiv2/exiv2/archive/v0.27.3.zip - 7z x v0.27.3.zip -y - cd exiv2-0.27.3 - - cmake -G "Ninja" . -DCMAKE_INSTALL_PREFIX=%CMAKE_INSTALL_ROOT% -DEXIV2_BUILD_SAMPLES=OFF -DCMAKE_CXX_FLAGS_RELEASE="-s" -DZLIB_ROOT=%ZLIB_ROOT% + - cmake -G "Ninja" . -DCMAKE_BUILD_TYPE=Release -DCMAKE_INSTALL_PREFIX=%CMAKE_INSTALL_ROOT% -DEXIV2_BUILD_SAMPLES=OFF -DCMAKE_CXX_FLAGS_RELEASE="-s" -DZLIB_ROOT=%ZLIB_ROOT% - cmake --build . --target install - cd %APPVEYOR_BUILD_FOLDER% # install KArchive for kra format support of KImageFormats