From efec989c9df54f8a14737efd6ede6b775cd1ef4b Mon Sep 17 00:00:00 2001 From: Christian Beier Date: Tue, 5 Dec 2023 10:00:01 +0100 Subject: [PATCH] Android: build: silence libssh2 configure warning ...by not configuring libssh2 tests. --- android/app/src/main/cpp/CMakeLists.txt | 1 + 1 file changed, 1 insertion(+) diff --git a/android/app/src/main/cpp/CMakeLists.txt b/android/app/src/main/cpp/CMakeLists.txt index aaf7c03c..ba09fae5 100644 --- a/android/app/src/main/cpp/CMakeLists.txt +++ b/android/app/src/main/cpp/CMakeLists.txt @@ -44,6 +44,7 @@ include_directories( # build libssh2 message("-----libssh2-----") +SET(BUILD_TESTING OFF CACHE BOOL "Build libssh2 test suite") set(libssh2_src_DIR ${CMAKE_SOURCE_DIR}/../../../../../libssh2) set(libssh2_build_DIR ${CMAKE_BINARY_DIR}/libssh2) # adds a source subdir with specifying a build output dir