[
https://issues.apache.org/jira/browse/QPID-7148?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17622659#comment-17622659
]
ASF GitHub Bot commented on QPID-7148:
--------------------------------------
jiridanek commented on PR #33:
URL: https://github.com/apache/qpid-cpp/pull/33#issuecomment-1287837787
It appears that this really fixes the build for me
https://github.com/rh-messaging/cli-cpp/pull/71
The issue is that Bazel moves the installed library around, and requires
`QpidConfig.cmake` to contain relative paths. Otherwise, attempt is made to
fetch libraries from original install location, which is prevented by Bazel
sandbox and therefore build fails.
> Update CMake to use more modern simpler features
> ------------------------------------------------
>
> Key: QPID-7148
> URL: https://issues.apache.org/jira/browse/QPID-7148
> Project: Qpid
> Issue Type: Improvement
> Components: C++ Build
> Reporter: Andrew Stitcher
> Assignee: Andrew Stitcher
> Priority: Major
>
> The CMake build system for Qpid especially the Windows relevant bits can be
> improved and made easier to understand by using newer features of more recent
> CMake releases (especially post 3.0 features).
> This will allow us to remove the warnings:
> {noformat}
> CMake Warning (dev) at src/msvc.cmake:31 (get_target_property):
> Policy CMP0026 is not set: Disallow use of the LOCATION target property.
> Run "cmake --help-policy CMP0026" for policy details. Use the cmake_policy
> command to set the policy and suppress this warning.
>
> The LOCATION property should not be read from target "qpidtypes". Use the
> target name directly with add_custom_command, or use the generator
> expression $<TARGET_FILE>, as appropriate.
> {noformat}
--
This message was sent by Atlassian Jira
(v8.20.10#820010)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]