You are viewing a plain text version of this content. The canonical link for it is here.
Posted to jira@arrow.apache.org by "Amir Ghamarian (Jira)" <ji...@apache.org> on 2021/06/07 19:59:00 UTC
[jira] [Updated] (ARROW-13000) A simple cmake file for using
example parquet snippets
[ https://issues.apache.org/jira/browse/ARROW-13000?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Amir Ghamarian updated ARROW-13000:
-----------------------------------
Description:
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.
was:
To wire the brew installed version to the downstream project I used the following snippet.
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)
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.
> 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)