From c9e43568685bc48246e2e9a17ba2a1b7206a40a8 Mon Sep 17 00:00:00 2001 From: David Seifert Date: Sun, 16 Jun 2019 21:28:22 +0200 Subject: [PATCH] Install pkg-config file --- CMakeLists.txt | 3 +++ 1 file changed, 3 insertions(+) diff --git a/CMakeLists.txt b/CMakeLists.txt index 93fe343..d999ce7 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -51,5 +51,8 @@ install(EXPORT libtelnet-export FILE libtelnet.cmake DESTINATION ${CMAKE_INSTALL_LIBDIR}/cmake/libtelnet ) +install(FILES ${CMAKE_CURRENT_BINARY_DIR}/libtelnet.pc + DESTINATION ${CMAKE_INSTALL_LIBDIR}/pkgconfig +) include(CPack) \ No newline at end of file