[
https://issues.apache.org/jira/browse/ARROW-2720?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17659746#comment-17659746
]
Rok Mihevc commented on ARROW-2720:
-----------------------------------
This issue has been migrated to [issue
#19109|https://github.com/apache/arrow/issues/19109] on GitHub. Please see the
[migration documentation|https://github.com/apache/arrow/issues/14542] for
further details.
> [C++] Clean up cmake CXX_STANDARD and PIC flag setting
> ------------------------------------------------------
>
> Key: ARROW-2720
> URL: https://issues.apache.org/jira/browse/ARROW-2720
> Project: Apache Arrow
> Issue Type: Task
> Components: C++
> Reporter: Phillip Cloud
> Assignee: Wes McKinney
> Priority: Major
> Labels: pull-request-available
> Fix For: 0.12.0
>
> Time Spent: 0.5h
> Remaining Estimate: 0h
>
> We're using {{-std=c++11}} in a few non-external project places as well as
> setting {{-fPIC}}. CMake provides the {{CMAKE_CXX_STANDARD}} flag (which we
> are also using) and the {{CMAKE_POSITION_INDEPENDENT_CODE}} flag for setting
> these options in a cross platform way (where it matters).
> We should use these flags instead of using platform conditional checks to set
> their values explicitly.
--
This message was sent by Atlassian Jira
(v8.20.10#820010)