From 887a578cf248bc847125debe72549913067b73ba Mon Sep 17 00:00:00 2001 From: Stefan Huber Date: Wed, 26 Nov 2014 23:57:15 +0100 Subject: [PATCH] pkg: Install as libstick-${PACKAGE_VERSION}.pc --- lib/CMakeLists.txt | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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") -- 2.39.5