[
https://issues.apache.org/jira/browse/ARROW-13000?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Kouhei Sutou closed ARROW-13000.
--------------------------------
Resolution: Duplicate
We'll improve this by using CMake's component feature.
> A simple cmake file for using example parquet snippets
> -------------------------------------------------------
>
> Key: ARROW-13000
> URL: https://issues.apache.org/jira/browse/ARROW-13000
> Project: Apache Arrow
> Issue Type: Improvement
> Components: C++, Parquet
> Environment: OSX
> Reporter: Amir Ghamarian
> Priority: Minor
> Labels: c++, cmake, parquet
> Original Estimate: 24h
> Remaining Estimate: 24h
>
> To wire the brew installed version to the downstream project I used the
> following snippet.
>
> {code:java}
> find_package(Arrow CONFIG REQUIRED)
> find_package(Parquet CONFIG REQUIRED PATHS /usr/local/lib/cmake/arrow
> NO_DEFAULT_PATH) target_link_libraries(database PRIVATE arrow_shared
> parquet_shared)
> {code}
> Not sure if this is the right way. None of the examples given on the docs
> show a good example of cmake for using parquet in a downstream project.
--
This message was sent by Atlassian Jira
(v8.3.4#803005)