[
https://issues.apache.org/jira/browse/PROTON-2031?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16818169#comment-16818169
]
Robbie Gemmell commented on PROTON-2031:
----------------------------------------
I would personally say its up to the using component to decide what output it
prints to its build. The {{QUIET}} option described in the link suggests its
for use in suppressing 'not found' messages.
> CMake files for find_package() in /lib64/cmake/Proton/ProtonConfig.cmake
> should log a message
> ---------------------------------------------------------------------------------------------
>
> Key: PROTON-2031
> URL: https://issues.apache.org/jira/browse/PROTON-2031
> Project: Qpid Proton
> Issue Type: Improvement
> Components: proton-c
> Affects Versions: proton-c-0.27.0
> Reporter: Jiri Daněk
> Priority: Minor
>
> Currently, Qpid Dispatch does
> {noformat}
> find_package(Proton 0.23 REQUIRED COMPONENTS Core Proactor)
> message(STATUS "Found Proton: ${Proton_LIBRARIES} (found version
> \"${Proton_VERSION}\")" ){noformat}
> but that {{message()}} should not be necessary. Instead, Proton's
> {{/lib64/cmake/Proton/ProtonConfig.cmake}} and
> {{/lib64/cmake/ProtonCpp/ProtonCppConfig.cmake}} files should each be taking
> care of printing that, unless the {{QUIET}} flag is specified
> https://cmake.org/cmake/help/v2.8.12/cmake.html#command:find_package
> Adding the message to Proton would mean Dispatch compilation will print the
> same message twice. I think that is acceptable temporary state.
--
This message was sent by Atlassian JIRA
(v7.6.3#76005)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]