Jiri Daněk created PROTON-2031:
----------------------------------

             Summary: 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


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]

Reply via email to