2018-11-06 14:47:33 +03:00
|
|
|
@PACKAGE_INIT@
|
2013-02-12 16:31:42 +04:00
|
|
|
|
2018-11-06 14:47:33 +03:00
|
|
|
if (EXISTS "${CMAKE_CURRENT_LIST_DIR}/CMakeCache.txt")
|
|
|
|
# In tree build
|
|
|
|
set_and_check(LIBSSH_INCLUDE_DIR "${CMAKE_CURRENT_LIST_DIR}/include")
|
|
|
|
set_and_check(LIBSSH_LIBRARIES "${CMAKE_CURRENT_LIST_DIR}/lib/@LIBSSH_LIBRARY_NAME@")
|
2013-02-12 16:31:42 +04:00
|
|
|
else()
|
2018-11-06 14:47:33 +03:00
|
|
|
set_and_check(LIBSSH_INCLUDE_DIR "@PACKAGE_INCLUDE_INSTALL_DIR@")
|
|
|
|
set_and_check(LIBSSH_LIBRARIES "@PACKAGE_LIB_INSTALL_DIR@/@LIBSSH_LIBRARY_NAME@")
|
2013-02-12 16:31:42 +04:00
|
|
|
endif()
|
|
|
|
|
2018-11-06 14:47:33 +03:00
|
|
|
# For backward compatibility
|
|
|
|
set(LIBSSH_LIBRARY ${LIBSSH_LIBRARIES})
|
2014-05-22 16:52:52 +04:00
|
|
|
|
2018-11-06 14:47:33 +03:00
|
|
|
mark_as_advanced(LIBSSH_LIBRARIES LIBSSH_LIBRARY LIBSSH_INCLUDE_DIR)
|