From: Stefan Huber Date: Wed, 26 Nov 2014 22:57:15 +0000 (+0100) Subject: pkg: Install as libstick-${PACKAGE_VERSION}.pc X-Git-Tag: v0.1~1 X-Git-Url: https://git.sthu.org/?a=commitdiff_plain;h=887a578cf248bc847125debe72549913067b73ba;p=libstick.git pkg: Install as libstick-${PACKAGE_VERSION}.pc --- diff --git a/lib/CMakeLists.txt b/lib/CMakeLists.txt index 5bd4f80..788f09c 100644 --- a/lib/CMakeLists.txt +++ b/lib/CMakeLists.txt @@ -5,5 +5,5 @@ #add_library(stick SHARED ${stick_SRC}) #install(TARGETS stick DESTINATION lib) -configure_file(${CMAKE_CURRENT_SOURCE_DIR}/libstick.pc.cmake ${CMAKE_CURRENT_BINARY_DIR}/libstick.pc @ONLY) -install(FILES ${CMAKE_CURRENT_BINARY_DIR}/libstick.pc DESTINATION lib/pkgconfig COMPONENT "pkgconfig") +configure_file(${CMAKE_CURRENT_SOURCE_DIR}/libstick.pc.cmake ${CMAKE_CURRENT_BINARY_DIR}/libstick-${PACKAGE_VERSION}.pc @ONLY) +install(FILES ${CMAKE_CURRENT_BINARY_DIR}/libstick-${PACKAGE_VERSION}.pc DESTINATION lib/pkgconfig COMPONENT "pkgconfig")