From b6ff54acc3ca427de0fcb89dfb515c9ce97bcfac Mon Sep 17 00:00:00 2001 From: ISSOtm Date: Wed, 15 Apr 2026 01:23:55 +0200 Subject: [PATCH] Avoid libpng compilation on Windows spamming the Microsoft banner --- .github/workflows/create-release-artifacts.yml | 2 +- .github/workflows/testing.yml | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/.github/workflows/create-release-artifacts.yml b/.github/workflows/create-release-artifacts.yml index 33156276..9baeeb59 100644 --- a/.github/workflows/create-release-artifacts.yml +++ b/.github/workflows/create-release-artifacts.yml @@ -39,7 +39,7 @@ jobs: shell: cmd run: | call .github\scripts\msvc-env.bat ${{ matrix.bits }} - cmake -S . -B build -G Ninja -DFETCHCONTENT_BASE_DIR="${{ env.DEPS_ROOT_DIR }}" + cmake -S . -B build -G Ninja -DFETCHCONTENT_BASE_DIR="${{ env.DEPS_ROOT_DIR }}" -DCMAKE_C_FLAGS="/nologo" cmake --build build -- -k 0 - name: Package binaries working-directory: build diff --git a/.github/workflows/testing.yml b/.github/workflows/testing.yml index 791013b9..2c957687 100644 --- a/.github/workflows/testing.yml +++ b/.github/workflows/testing.yml @@ -184,8 +184,8 @@ jobs: shell: cmd run: | # ASan seems to be broken on Windows, so we disable it. call .github\scripts\msvc-env.bat ${{ matrix.bits }} - cmake -S . -B build -G Ninja --preset develop -DSANITIZERS=OFF ^ - -DTESTS_OS_NAME=${{ matrix.os }} -DFETCHCONTENT_BASE_DIR="${{ env.DEPS_ROOT_DIR }}" + cmake -S . -B build -G Ninja --preset develop -DSANITIZERS=OFF -DTESTS_OS_NAME=${{ matrix.os }} ^ + -DFETCHCONTENT_BASE_DIR="${{ env.DEPS_ROOT_DIR }}" -DCMAKE_C_FLAGS="/nologo" cmake --build build -- -k 0 - name: Package binaries working-directory: build