From 049829af45b55e4916f50cf15c6e0abb4185303b Mon Sep 17 00:00:00 2001 From: "Christoph M. Becker" Date: Mon, 28 Oct 2024 11:59:59 +0100 Subject: [PATCH] Update new libpng builder to use VS 17 --- .github/workflows/libpng_cmake.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/libpng_cmake.yml b/.github/workflows/libpng_cmake.yml index 6179856..93443df 100644 --- a/.github/workflows/libpng_cmake.yml +++ b/.github/workflows/libpng_cmake.yml @@ -38,7 +38,7 @@ jobs: - name: Fetch dependencies run: powershell winlib-builder/scripts/fetch-deps -lib libpng -version ${{github.event.inputs.php}} -vs ${{steps.virtuals.outputs.vs}} -arch ${{matrix.arch}} -stability ${{github.event.inputs.stability}} - name: Configure libpng - run: cd libpng && cmake -G "Visual Studio 16 2019" -A ${{steps.virtuals.outputs.msarch}} -T ${{steps.virtuals.outputs.msts}} -DCMAKE_SYSTEM_VERSION=${{steps.virtuals.outputs.winsdk}} -DPNG_TESTS=OFF -DPNG_TOOLS=OFF -DCMAKE_INSTALL_PREFIX=%GITHUB_WORKSPACE%\install -DZLIB_LIBRARY=%GITHUB_WORKSPACE%\deps\lib\zlib_a.lib -DZLIB_INCLUDE_DIR=%GITHUB_WORKSPACE%\deps\include . + run: cd libpng && cmake -G "Visual Studio 17 2022" -A ${{steps.virtuals.outputs.msarch}} -T ${{steps.virtuals.outputs.msts}} -DCMAKE_SYSTEM_VERSION=${{steps.virtuals.outputs.winsdk}} -DPNG_TESTS=OFF -DPNG_TOOLS=OFF -DCMAKE_INSTALL_PREFIX=%GITHUB_WORKSPACE%\install -DZLIB_LIBRARY=%GITHUB_WORKSPACE%\deps\lib\zlib_a.lib -DZLIB_INCLUDE_DIR=%GITHUB_WORKSPACE%\deps\include . - name: Build libpng run: cd libpng && cmake --build . --config RelWithDebInfo - name: Install libpng