2013-02-12 16:31:42 +04:00
|
|
|
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()
|
2013-02-13 18:30:23 +04:00
|
|
|
set(LIBSSH_INCLUDE_DIR @INCLUDE_INSTALL_DIR@)
|
2013-02-12 16:31:42 +04:00
|
|
|
endif()
|
|
|
|
|
2014-05-22 16:52:52 +04:00
|
|
|
set(LIBSSH_LIBRARY @LIB_INSTALL_DIR@/@LIBSSH_LIBRARY_NAME@)
|
|
|
|
set(LIBSSH_LIBRARIES @LIB_INSTALL_DIR@/@LIBSSH_LIBRARY_NAME@)
|
|
|
|
|
|
|
|
set(LIBSSH_THREADS_LIBRARY @LIB_INSTALL_DIR@/@LIBSSH_THREADS_LIBRARY_NAME@)
|
2018-02-16 18:52:02 +03:00
|
|
|
|
|
|
|
mark_as_advanced(LIBSSH_LIBRARIES LIBSSH_INCLUDE_DIR)
|