1
0
mirror of https://github.com/libssh2/libssh2.git synced 2026-10-24 03:48:58 +03:00

appveyor: silence cmake warning

```
CMake Warning:
  Manually-specified variables were not used by the project:

    RUN_SSHD_TESTS
```

Closes #2129
This commit is contained in:
Viktor Szakats
2026-06-28 02:43:39 +02:00
parent e75b4bae3c
commit 4deba99cbc

View File

@@ -33,14 +33,17 @@ fi
echo "CMake job options: ${CMAKE_GENERATE:-}"
options=''
[ "${SKIP_CTEST:-}" = 'yes' ] && options+=' -DBUILD_TESTING=OFF'
if [ "${SKIP_CTEST:-}" = 'yes' ]; then
options+=' -DBUILD_TESTING=OFF'
else
options+=' -DRUN_SSHD_TESTS=OFF'
fi
# FIXME: First sshd test sometimes timeouts, subsequent ones almost always fail:
# 'libssh2_session_handshake failed (-43): Failed getting banner'
# shellcheck disable=SC2086
cmake -B _bld \
-DCMAKE_UNITY_BUILD=ON -DENABLE_WERROR=ON \
-DCMAKE_VS_GLOBALS=TrackFileAccess=false \
-DRUN_SSHD_TESTS=OFF \
-DBUILD_EXAMPLES=OFF \
-DLIBSSH2_BUILD_DOCS=OFF \
${CMAKE_GENERATE:-} \