From 13d534e89a44239f743eeaa63dbec47a13798bb7 Mon Sep 17 00:00:00 2001 From: Vic Lee Date: Wed, 30 Dec 2009 13:34:17 +0800 Subject: Add pkg-config file libssh.pc Signed-off-by: Vic Lee Signed-off-by: Andreas Schneider --- CMakeLists.txt | 11 +++++++++++ 1 file changed, 11 insertions(+) (limited to 'CMakeLists.txt') diff --git a/CMakeLists.txt b/CMakeLists.txt index 944beb5..5738231 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -66,6 +66,17 @@ add_subdirectory(tests) # build samples include_directories(${CMAKE_SOURCE_DIR}/include) +# pkg-config file +configure_file(libssh.pc.cmake ${CMAKE_CURRENT_BINARY_DIR}/libssh.pc) +install( + FILES + ${CMAKE_CURRENT_BINARY_DIR}/libssh.pc + DESTINATION + ${LIB_INSTALL_DIR}/pkgconfig + COMPONENT + pkgconfig +) + if (UNIX AND NOT WIN32) add_subdirectory(examples) -- cgit