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:53:00 UTC

[jira] [Created] (ARROW-13000) A simple cmake file for using example parquet snippets

Amir Ghamarian created ARROW-13000:
--------------------------------------

             Summary: 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


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.



--
This message was sent by Atlassian Jira
(v8.3.4#803005)