cmake: set CURL_DIRSUFFIX automatically in multi-config builds

To make it easier to run tests when using the Visual Studio generator,
also perhaps Xcode.

Also drop manual settings from CI.

Closes #18241
This commit is contained in:
Viktor Szakats 2025-08-09 17:36:40 +02:00
parent c04292648f
commit 7fd7d561c4
No known key found for this signature in database
GPG key ID: B5ABD165E2AEF201
3 changed files with 5 additions and 2 deletions

View file

@ -141,7 +141,6 @@ fi
if [ "${TFLAGS}" != 'skipall' ] && \
[ "${TFLAGS}" != 'skiprun' ]; then
export CURL_DIRSUFFIX="${PRJ_CFG}"
if [ -x "$(cygpath "${SYSTEMROOT}/System32/curl.exe")" ]; then
TFLAGS+=" -ac $(cygpath "${SYSTEMROOT}/System32/curl.exe")"
elif [ -x "$(cygpath 'C:/msys64/usr/bin/curl.exe')" ]; then