diff options
| author | Andrew Stitcher <astitcher@apache.org> | 2011-11-10 22:14:40 +0000 |
|---|---|---|
| committer | Andrew Stitcher <astitcher@apache.org> | 2011-11-10 22:14:40 +0000 |
| commit | 728dbc9c8e3b38634b2f0cbb6e7d9b8caeb1efc3 (patch) | |
| tree | 62202a46c3a88dbe752b9a6b1d8a8c19ab856693 /qpid/cpp/src/CMakeLists.txt | |
| parent | ca84bc1b8f700c4bd4b576703c5492c17e154f39 (diff) | |
| download | qpid-python-728dbc9c8e3b38634b2f0cbb6e7d9b8caeb1efc3.tar.gz | |
QPID-3607: pkg config for qmf2 library
- Added new qmf2.pc file and make install logic for it
git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1200597 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'qpid/cpp/src/CMakeLists.txt')
| -rw-r--r-- | qpid/cpp/src/CMakeLists.txt | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/qpid/cpp/src/CMakeLists.txt b/qpid/cpp/src/CMakeLists.txt index 100f7dfe60..deae682647 100644 --- a/qpid/cpp/src/CMakeLists.txt +++ b/qpid/cpp/src/CMakeLists.txt @@ -1364,5 +1364,12 @@ if (UNIX) install (FILES ${CMAKE_CURRENT_BINARY_DIR}/qpid.pc DESTINATION ${QPID_INSTALL_LIBDIR}/pkgconfig COMPONENT ${QPID_COMPONENT_COMMON}) + + add_dependencies(pkgconfig ${CMAKE_CURRENT_BINARY_DIR}/qmf2.pc) + configure_file(${CMAKE_CURRENT_SOURCE_DIR}/qmf2.pc.in + ${CMAKE_CURRENT_BINARY_DIR}/qmf2.pc) + install (FILES ${CMAKE_CURRENT_BINARY_DIR}/qmf2.pc + DESTINATION ${QPID_INSTALL_LIBDIR}/pkgconfig + COMPONENT ${QPID_COMPONENT_COMMON}) endif (UNIX) |
