Skip to content

Commit 438c273

Browse files
committed
Android: build: adapt to libsshtunnel CMake changes
1 parent 4df6e9c commit 438c273

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

android/app/src/main/cpp/CMakeLists.txt

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -72,8 +72,8 @@ set(libssh2_build_DIR ${CMAKE_BINARY_DIR}/libssh2)
7272
add_subdirectory(${libssh2_src_DIR} ${libssh2_build_DIR})
7373
add_dependencies(libssh2 ep-libressl)
7474
# set these variables so FindLibSSH2 can find the library
75-
set(LIBSSH2_LIBRARY ${libssh2_build_DIR}/src/libssh2.a CACHE FILEPATH "")
76-
set(LIBSSH2_INCLUDE_DIR ${libssh2_src_DIR}/include CACHE PATH "")
75+
set(Libssh2_LIBRARIES ${libssh2_build_DIR}/src/libssh2.a CACHE FILEPATH "")
76+
set(Libssh2_INCLUDE_DIR ${libssh2_src_DIR}/include CACHE PATH "")
7777
# set include directories so dependent code can find the headers
7878
include_directories(
7979
${libssh2_src_DIR}/include

0 commit comments

Comments
 (0)