aboutsummaryrefslogtreecommitdiff
path: root/libssh-config.cmake.in
blob: d0fb0da8e59a4488f51003f45d6f5f65b9a9e7ad (plain)
1
2
3
4
5
6
7
8
9
10
11
get_filename_component(LIBSSH_CMAKE_DIR "${CMAKE_CURRENT_LIST_FILE}" PATH)

if (EXISTS "${LIBSSH_CMAKE_DIR}/CMakeCache.txt")
    # In build tree
    include(${LIBSSH_CMAKE_DIR}/libssh-build-tree-settings.cmake)
else()
    set(LIBSSH_INCLUDE_DIRS @INCLUDE_INSTALL_DIR@)
endif()

set(LIBSSH_LIRBARY @LIB_INSTALL_DIR@/libssh.so)
set(LIBSSH_LIRBARIES @LIB_INSTALL_DIR@/libssh.so)