[
https://issues.apache.org/jira/browse/AVRO-4015?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17864619#comment-17864619
]
ASF subversion and git services commented on AVRO-4015:
-------------------------------------------------------
Commit 8281e610ab5666bb3ae6e22a2cc2b11af0fb9226 in avro's branch
refs/heads/main from Viper Bailey
[ https://gitbox.apache.org/repos/asf?p=avro.git;h=8281e610a ]
AVRO-4015: [C++] fixed the c++ build to facilitate using it with FetchContent
(#3008)
- exposed the include libraries in such a way that they can be accessed
- added the necessary libs to the static target
Co-authored-by: Michael Bailey <[email protected]>
> avro-cpp does not work with CMake's FetchContent
> ------------------------------------------------
>
> Key: AVRO-4015
> URL: https://issues.apache.org/jira/browse/AVRO-4015
> Project: Apache Avro
> Issue Type: Improvement
> Components: build, c++
> Reporter: Michael Bailey
> Priority: Minor
> Labels: pull-request-available
> Time Spent: 1.5h
> Remaining Estimate: 0h
>
> Currently it is not possible to link Avro-cpp as a dependency to a c++
> project using on FetchContent(). The principle reason is that the include
> directories are not properly exposed on the avrocpp and avrocpp_s targets.
> One other problem is that the necessary libraries are not linked to the
> avrocpp_s target, meaning any attempt to link against that target will result
> in linker errors.
--
This message was sent by Atlassian Jira
(v8.20.10#820010)