#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-${PACKAGE_VERSION}.pc @ONLY)
-install(FILES ${CMAKE_CURRENT_BINARY_DIR}/libstick-${PACKAGE_VERSION}.pc DESTINATION lib/pkgconfig COMPONENT "pkgconfig")
+configure_file(${CMAKE_CURRENT_SOURCE_DIR}/pkgconfig.pc.cmake ${CMAKE_CURRENT_BINARY_DIR}/${PACKAGE_STRING}-${PACKAGE_VERSION}.pc @ONLY)
+install(FILES ${CMAKE_CURRENT_BINARY_DIR}/${PACKAGE_STRING}-${PACKAGE_VERSION}.pc DESTINATION lib/pkgconfig COMPONENT "pkgconfig")