diff options
author | Jonathan Beck | 2009-10-18 12:48:18 +0200 |
---|---|---|
committer | Jonathan Beck | 2009-10-18 12:48:18 +0200 |
commit | 7fa91f0b07b2ffd2143041cb52b8405d152e7b05 (patch) | |
tree | 06088865d31d912b881ad247ca47c4f7600d437c | |
parent | 89da417a1c3686552fa56725dca8c310d2966a6e (diff) | |
download | libplist-7fa91f0b07b2ffd2143041cb52b8405d152e7b05.tar.gz libplist-7fa91f0b07b2ffd2143041cb52b8405d152e7b05.tar.bz2 |
Add pkg-config file for libplist++.
-rw-r--r-- | CMakeLists.txt | 2 | ||||
-rw-r--r-- | libplist++.pc.in | 12 |
2 files changed, 14 insertions, 0 deletions
diff --git a/CMakeLists.txt b/CMakeLists.txt index 116bf73..4d13175 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -40,9 +40,11 @@ ADD_CUSTOM_TARGET(uninstall "${CMAKE_COMMAND}" -P "${CMAKE_CURRENT_BINARY_DIR}/c ########## PkgConfig ############################ CONFIGURE_FILE( "libplist.pc.in" "${CMAKE_CURRENT_BINARY_DIR}/libplist.pc" ) +CONFIGURE_FILE( "libplist++.pc.in" "${CMAKE_CURRENT_BINARY_DIR}/libplist++.pc" ) ########## INSTALL ############################## INSTALL( FILES "${CMAKE_CURRENT_BINARY_DIR}/libplist.pc" DESTINATION ${CMAKE_INSTALL_LIBDIR}/pkgconfig/ ) +INSTALL( FILES "${CMAKE_CURRENT_BINARY_DIR}/libplist++.pc" DESTINATION ${CMAKE_INSTALL_LIBDIR}/pkgconfig/ ) ########## CPack ################################ INCLUDE( libplistPackaging ) diff --git a/libplist++.pc.in b/libplist++.pc.in new file mode 100644 index 0000000..c0fd6d2 --- /dev/null +++ b/libplist++.pc.in @@ -0,0 +1,12 @@ +prefix=${CMAKE_INSTALL_PREFIX} +exec_prefix=${CMAKE_INSTALL_PREFIX} +libdir=${CMAKE_INSTALL_PREFIX}/${CMAKE_INSTALL_LIBDIR} +includedir=${CMAKE_INSTALL_PREFIX}/include + +Name: libplist++ +Description: C++ binding of libplist +Version: ${LIBPLIST_VERSION} +Requires: libplist-2.0 >= ${LIBPLIST_VERSION} +Libs: -L${CMAKE_INSTALL_PREFIX}/${CMAKE_INSTALL_LIBDIR} -lplist++ +Cflags: -I${CMAKE_INSTALL_PREFIX}/include + |