Repository: qpid-proton Updated Branches: refs/heads/master f2ae27d7e -> 54b297f3d
NO-JIRA: Better explanation of the purpose of example ProtonConfig.cmake and ProtonCppConfig.cmake files. Project: http://git-wip-us.apache.org/repos/asf/qpid-proton/repo Commit: http://git-wip-us.apache.org/repos/asf/qpid-proton/commit/54b297f3 Tree: http://git-wip-us.apache.org/repos/asf/qpid-proton/tree/54b297f3 Diff: http://git-wip-us.apache.org/repos/asf/qpid-proton/diff/54b297f3 Branch: refs/heads/master Commit: 54b297f3d8ed882e79e486c2e4923c7c7cb2a1f6 Parents: f2ae27d Author: Andrew Stitcher <astitc...@apache.org> Authored: Tue Mar 22 01:13:21 2016 -0400 Committer: Andrew Stitcher <astitc...@apache.org> Committed: Tue Mar 22 01:13:21 2016 -0400 ---------------------------------------------------------------------- examples/ProtonConfig.cmake | 10 ++++++++++ examples/ProtonCppConfig.cmake | 10 ++++++++++ 2 files changed, 20 insertions(+) ---------------------------------------------------------------------- http://git-wip-us.apache.org/repos/asf/qpid-proton/blob/54b297f3/examples/ProtonConfig.cmake ---------------------------------------------------------------------- diff --git a/examples/ProtonConfig.cmake b/examples/ProtonConfig.cmake index 0269c77..e910082 100644 --- a/examples/ProtonConfig.cmake +++ b/examples/ProtonConfig.cmake @@ -17,6 +17,16 @@ # under the License. # +# Note that this file is used *only* when building the examples within +# the proton source tree not when the examples are installed separately +# from it (for example in an OS distribution package). +# +# So if you find this file installed on your system something went wrong +# with the packaging and/or package installation. +# +# For a packaged installation the equivalent file is created by the source +# tree build and installed in the appropriate place for cmake on that system. + set (Proton_VERSION ${PN_VERSION}) set (Proton_INCLUDE_DIRS ${CMAKE_SOURCE_DIR}/proton-c/include) set (Proton_LIBRARIES qpid-proton) http://git-wip-us.apache.org/repos/asf/qpid-proton/blob/54b297f3/examples/ProtonCppConfig.cmake ---------------------------------------------------------------------- diff --git a/examples/ProtonCppConfig.cmake b/examples/ProtonCppConfig.cmake index d3a7813..e23d134 100644 --- a/examples/ProtonCppConfig.cmake +++ b/examples/ProtonCppConfig.cmake @@ -17,6 +17,16 @@ # under the License. # +# Note that this file is used *only* when building the examples within +# the proton source tree not when the examples are installed separately +# from it (for example in an OS distribution package). +# +# So if you find this file installed on your system something went wrong +# with the packaging and/or package installation. +# +# For a packaged installation the equivalent file is created by the source +# tree build and installed in the appropriate place for cmake on that system. + set (ProtonCpp_VERSION ${PN_VERSION}) set (ProtonCpp_INCLUDE_DIRS ${CMAKE_SOURCE_DIR}/proton-c/include ${CMAKE_SOURCE_DIR}/proton-c/bindings/cpp/include) set (ProtonCpp_LIBRARIES qpid-proton-cpp) --------------------------------------------------------------------- To unsubscribe, e-mail: commits-unsubscr...@qpid.apache.org For additional commands, e-mail: commits-h...@qpid.apache.org