You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@qpid.apache.org by "Jiri Daněk (JIRA)" <ji...@apache.org> on 2018/11/27 21:56:00 UTC
[jira] [Updated] (PROTON-1974) Libraries are not being correctly
detected in CMake build scripts when old CMake is used
[ https://issues.apache.org/jira/browse/PROTON-1974?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Jiri Daněk updated PROTON-1974:
-------------------------------
Description:
On CMake 2.8.12.2, function {{find_package_handle_standard_args}} sets (by default) only the {{<PACKAGENAME>_FOUND}} variable. With newer versions, such as 3.12.1, both the uppercased, as well as the unmodified {{<PackageName>_FOUND}} are set. Proton examines the unmodified variable.
As a result, with older CMake, optional libraries such as Cyrus SASL are detected by CMake, but then are not used by proton-c, as if they were not present on the system.
was:
On CMake 2.8.12.2, function {{find_package_handle_standard_args}} sets (by default) only the {{<PACKAGENAME>_FOUND}} variable. With newer versions, such as 3.12.1, both the uppercased, as well as the unmodified ((<PackageName>_FOUND}} are set. Proton examines the unmodified variable.
As a result, with older CMake, optional libraries such as Cyrus SASL are detected by CMake, but then are not used by proton-c, as if they were not present on the system.
> Libraries are not being correctly detected in CMake build scripts when old CMake is used
> ----------------------------------------------------------------------------------------
>
> Key: PROTON-1974
> URL: https://issues.apache.org/jira/browse/PROTON-1974
> Project: Qpid Proton
> Issue Type: Bug
> Components: build, proton-c
> Affects Versions: proton-c-0.25.0, proton-c-0.26.0
> Environment: RHEL 7, CMake 2.8.12.2
> Reporter: Jiri Daněk
> Priority: Major
>
> On CMake 2.8.12.2, function {{find_package_handle_standard_args}} sets (by default) only the {{<PACKAGENAME>_FOUND}} variable. With newer versions, such as 3.12.1, both the uppercased, as well as the unmodified {{<PackageName>_FOUND}} are set. Proton examines the unmodified variable.
> As a result, with older CMake, optional libraries such as Cyrus SASL are detected by CMake, but then are not used by proton-c, as if they were not present on the system.
--
This message was sent by Atlassian JIRA
(v7.6.3#76005)
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@qpid.apache.org
For additional commands, e-mail: dev-help@qpid.apache.org