mirror of
https://git.libssh.org/projects/libssh.git
synced 2025-07-28 01:41:48 +03:00
cmake: Added pkg-config support for libssh_treads.
This commit is contained in:
@ -78,9 +78,11 @@ add_subdirectory(src)
|
|||||||
|
|
||||||
# pkg-config file
|
# pkg-config file
|
||||||
configure_file(libssh.pc.cmake ${CMAKE_CURRENT_BINARY_DIR}/libssh.pc)
|
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(
|
install(
|
||||||
FILES
|
FILES
|
||||||
${CMAKE_CURRENT_BINARY_DIR}/libssh.pc
|
${CMAKE_CURRENT_BINARY_DIR}/libssh.pc
|
||||||
|
${CMAKE_CURRENT_BINARY_DIR}/libssh_threads.pc
|
||||||
DESTINATION
|
DESTINATION
|
||||||
${LIB_INSTALL_DIR}/pkgconfig
|
${LIB_INSTALL_DIR}/pkgconfig
|
||||||
COMPONENT
|
COMPONENT
|
||||||
|
6
libssh_threads.pc.cmake
Normal file
6
libssh_threads.pc.cmake
Normal file
@ -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}
|
||||||
|
|
Reference in New Issue
Block a user