diff --git a/.github/workflows/windows.yml b/.github/workflows/windows.yml index b1d939c2ab..98d2a379b2 100644 --- a/.github/workflows/windows.yml +++ b/.github/workflows/windows.yml @@ -858,6 +858,7 @@ jobs: MSDK_LIBW="$MSDK_ROOTW/lib/$MSDK_VER" MSDK_INCW="$MSDK_ROOTW/include/$MSDK_VER" MSDK_BINU="$MSDK_ROOTU/bin/$MSDK_VER/$MSVC_HOST" + cflags+=" -external:W0" cflags+=" -external:I$MSVC_ROOTW/atlmfc/include" cflags+=" -external:I$MSVC_ROOTW/include" cflags+=" -external:I$MSDK_INCW/shared" @@ -874,8 +875,7 @@ jobs: options+=" -DCMAKE_RC_COMPILER=$MSDK_BINU/rc.exe" options+=" -DCMAKE_MT=$MSDK_BINU/mt.exe" options+=" -DCMAKE_C_COMPILER=$MSVC_BINU/cl.exe" - rcflags="${cflags}" - cflags+=" -external:W0" + rcflags+=" -I$MSDK_INCW/um" fi [ "${_chkprefill}" = '_chkprefill' ] && options+=' -D_CURL_PREFILL=OFF' if [ -n "${MATRIX_INSTALL_VCPKG}" ]; then @@ -912,7 +912,7 @@ jobs: - name: 'build' timeout-minutes: 5 - run: cmake --build bld --config "${MATRIX_TYPE}" --parallel 5 + run: cmake --build bld --config "${MATRIX_TYPE}" --parallel 5 --verbose - name: 'curl version' timeout-minutes: 1