You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@qpid.apache.org by "Clifford Jansen (Jira)" <ji...@apache.org> on 2020/08/13 23:33:00 UTC
[jira] [Commented] (PROTON-2265) Build fails with older CMake
version 2.8.12
[ https://issues.apache.org/jira/browse/PROTON-2265?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17177380#comment-17177380 ]
Clifford Jansen commented on PROTON-2265:
-----------------------------------------
The list+TRANSFORM command does not exist in older CMake.
It is easy to substitute a foreach clause to create an identical list using older list command semantics. i.e.
foreach(pfname ${qpid-proton-proactor})
list(APPEND qpid-proton-proactor-src ../${pfname})
endforeach()
That fixes the CMake step that generates the makefiles. However the new c-raw-connection-test mixes C++ source files (Catch2 format) and the C proactor sources (to access pni_xxx() calls for the test). The newer CMake chooses the correct compiler for each, while the old one tries the C++ compiler on all of them, which includes incompatible flags. Still hunting for the "works everywhere" solution.
> Build fails with older CMake version 2.8.12
> -------------------------------------------
>
> Key: PROTON-2265
> URL: https://issues.apache.org/jira/browse/PROTON-2265
> Project: Qpid Proton
> Issue Type: Bug
> Components: proton-c
> Affects Versions: proton-c-0.32.0
> Reporter: Clifford Jansen
> Assignee: Clifford Jansen
> Priority: Blocker
>
> CMake step itself fails, or the generated make system files file subsequently.
--
This message was sent by Atlassian Jira
(v8.3.4#803005)
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@qpid.apache.org
For additional commands, e-mail: dev-help@qpid.apache.org