]> git.sthu.org Git - libstick.git/commitdiff
pkg: Install as libstick-${PACKAGE_VERSION}.pc
authorStefan Huber <shuber@sthu.org>
Wed, 26 Nov 2014 22:57:15 +0000 (23:57 +0100)
committerStefan Huber <shuber@sthu.org>
Wed, 26 Nov 2014 22:57:15 +0000 (23:57 +0100)
lib/CMakeLists.txt

index 5bd4f805bb35b75080643974952e12934881d1ba..788f09c968c1453a2c33c2376bb3011dc0aa4c56 100644 (file)
@@ -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")