From 583a7f933ab6491742035e217d4bff0b38a33b08 Mon Sep 17 00:00:00 2001 From: Andreas Schneider Date: Tue, 14 Jun 2011 13:47:04 +0200 Subject: cmake: Added pkg-config support for libssh_treads. --- CMakeLists.txt | 2 ++ libssh_threads.pc.cmake | 6 ++++++ 2 files changed, 8 insertions(+) create mode 100644 libssh_threads.pc.cmake diff --git a/CMakeLists.txt b/CMakeLists.txt index b96a4754..0bae373e 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -78,9 +78,11 @@ add_subdirectory(src) # pkg-config file configure_file(libssh.pc.cmake ${CMAKE_CURRENT_BINARY_DIR}/libssh.pc) +configure_file(libssh_threads.pc.cmake ${CMAKE_CURRENT_BINARY_DIR}/libssh_threads.pc) install( FILES ${CMAKE_CURRENT_BINARY_DIR}/libssh.pc + ${CMAKE_CURRENT_BINARY_DIR}/libssh_threads.pc DESTINATION ${LIB_INSTALL_DIR}/pkgconfig COMPONENT diff --git a/libssh_threads.pc.cmake b/libssh_threads.pc.cmake new file mode 100644 index 00000000..98902009 --- /dev/null +++ b/libssh_threads.pc.cmake @@ -0,0 +1,6 @@ +Name: ${APPLICATION_NAME}_threads +Description: The SSH Library Thread Extension +Version: ${APPLICATION_VERSION} +Libs: -L${LIB_INSTALL_DIR} -lssh -lssh_threads +Cflags: -I${INCLUDE_INSTALL_DIR} + -- cgit v1.2.3