[
https://issues.apache.org/jira/browse/DISPATCH-1644?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17102725#comment-17102725
]
ASF subversion and git services commented on DISPATCH-1644:
-----------------------------------------------------------
Commit 1c17d01d20cb0d1f2bd2bb12c9bd7224b8f799aa in qpid-dispatch's branch
refs/heads/master from Ken Giusti
[ https://gitbox.apache.org/repos/asf?p=qpid-dispatch.git;h=1c17d01 ]
DISPATCH-1644: suppress cmake warning about libwebsockets name mismatch
> Suppress cmake warning about LIBWEBSOCKETS
> ------------------------------------------
>
> Key: DISPATCH-1644
> URL: https://issues.apache.org/jira/browse/DISPATCH-1644
> Project: Qpid Dispatch
> Issue Type: Bug
> Components: Router Node
> Affects Versions: 1.12.0
> Reporter: Ken Giusti
> Assignee: Ken Giusti
> Priority: Trivial
> Fix For: 1.13.0
>
>
> CMake Warning (dev) at
> /usr/share/cmake/Modules/FindPackageHandleStandardArgs.cmake:272 (message):
> The package name passed to `find_package_handle_standard_args`
> (LIBWEBSOCKETS) does not match the name of the calling package
> (LibWebSockets). This can lead to problems in calling code that expects
> `find_package` result variables (e.g., `_FOUND`) to follow a certain
> pattern.
> Call Stack (most recent call first):
> cmake/FindLibWebSockets.cmake:60 (find_package_handle_standard_args)
> CMakeLists.txt:63 (find_package)
> This warning is for project developers. Use -Wno-dev to suppress it.
> We're using the older API to find_package_handle_standard_args() to support
> older versions of cmake. This is fine - we just have to suppress the warning
> as described in FindPackageHandleStandardArgs.cmake:
> ?? If ``<PackageName>`` does not match ``CMAKE_FIND_PACKAGE_NAME`` for the??
> ?? calling module, a warning that there is a mismatch is given. The??
> ?? ``FPHSA_NAME_MISMATCHED`` variable may be set to bypass the warning if
> using??
> ?? the old signature and the ``NAME_MISMATCHED`` argument using the new??
> ?? signature. To avoid forcing the caller to require newer versions of CMake
> for??
> ?? usage, the variable's value will be used if defined when the??
> ?? ``NAME_MISMATCHED`` argument is not passed for the new signature (but
> using??
> ?? both is an error)..??
>
>
--
This message was sent by Atlassian Jira
(v8.3.4#803005)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]