mirror of
https://github.com/curl/curl.git
synced 2026-07-09 08:37:16 +03:00
fixup
This commit is contained in:
parent
a9e8c0f221
commit
3f13439222
1 changed files with 2 additions and 2 deletions
4
.github/workflows/windows.yml
vendored
4
.github/workflows/windows.yml
vendored
|
|
@ -849,7 +849,7 @@ jobs:
|
|||
/usr/bin/find '/c/Program Files (x86)/Windows Kits/10' \( -name '*.exe' -o -name '*.h' -o -name '*.lib' \)
|
||||
echo '-----------------------------------------'
|
||||
MSVC_ROOTD="$(cygpath --dos "$PROGRAMFILES/Microsoft Visual Studio")" # to avoid spaces
|
||||
MSVC_ROOTU="$(/usr/bin/find "$(cygpath --unix "$MSVC_ROOTD/2022/Enterprise/vc/tools/msvc")" -mindepth 1 -maxdepth 1 -type d | sort | tail -n 1)"
|
||||
MSVC_ROOTU="$(/usr/bin/find "$(cygpath --unix "$MSVC_ROOTD/2022/Enterprise/vc/tools/msvc")" -mindepth 1 -maxdepth 1 -type d -name '*.*' | sort | tail -n 1)"
|
||||
MSVC_ROOTW="$(cygpath --windows "$MSVC_ROOTU")"
|
||||
MSVC_ROOTU="$(cygpath --unix "$MSVC_ROOTW")"
|
||||
echo "MSVC_ROOTW:|$MSVC_ROOTW|"
|
||||
|
|
@ -858,7 +858,7 @@ jobs:
|
|||
echo "MSVC_BINU:|$MSVC_BINU|"
|
||||
MSDK_ROOTW="$(cygpath --dos "$(printenv 'ProgramFiles(x86)')/Windows Kits")/10"
|
||||
MSDK_ROOTU="$(cygpath --unix "$MSDK_ROOTW")"
|
||||
MSDK_VER="$(basename "$(/usr/bin/find "$MSDK_ROOTU/lib" -mindepth 1 -maxdepth 1 -type d | sort | tail -n 1)")"
|
||||
MSDK_VER="$(basename "$(/usr/bin/find "$MSDK_ROOTU/lib" -mindepth 1 -maxdepth 1 -type d -name '*.*' | sort | tail -n 1)")"
|
||||
echo "MSDK_VER:|$MSDK_VER|"
|
||||
MSDK_LIBW="$MSDK_ROOTW/lib/$MSDK_VER"
|
||||
MSDK_INCU="$MSDK_ROOTU/include/$MSDK_VER"
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue