diff --git a/.github/actions/cmake/action.yml b/.github/actions/cmake/action.yml index ff21b4a..b5aa3b2 100644 --- a/.github/actions/cmake/action.yml +++ b/.github/actions/cmake/action.yml @@ -33,6 +33,10 @@ runs: - name: Install windows deps if: runner.os == 'Windows' run: | + # https://github.com/microsoft/vcpkg/issues/41199#issuecomment-2378255699 + export SystemDrive="$SYSTEMDRIVE" + export SystemRoot="$SYSTEMROOT" + export windir="$WINDIR" vcpkg install doctest:x64-mingw-dynamic trompeloeil:x64-mingw-dynamic echo cmake_extra_args="'-DCMAKE_TOOLCHAIN_FILE=$VCPKG_INSTALLATION_ROOT/scripts/buildsystems/vcpkg.cmake' '-DMINGW=ON' '-G MinGW Makefiles'" >> "$GITHUB_ENV" shell: bash