From 4deba99cbc390adbabe362378d1dd259051c19f1 Mon Sep 17 00:00:00 2001 From: Viktor Szakats Date: Sun, 28 Jun 2026 02:43:39 +0200 Subject: [PATCH] appveyor: silence cmake warning ``` CMake Warning: Manually-specified variables were not used by the project: RUN_SSHD_TESTS ``` Closes #2129 --- appveyor.sh | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/appveyor.sh b/appveyor.sh index 8b58242c..19775b55 100644 --- a/appveyor.sh +++ b/appveyor.sh @@ -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:-} \