[ https://issues.apache.org/jira/browse/ARROW-4330?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17661353#comment-17661353 ]
Rok Mihevc commented on ARROW-4330: ----------------------------------- This issue has been migrated to [issue #20900|https://github.com/apache/arrow/issues/20900] on GitHub. Please see the [migration documentation|https://github.com/apache/arrow/issues/14542] for further details. > [C++] Use FindThreads.cmake to handle -pthread compiler/link options > -------------------------------------------------------------------- > > Key: ARROW-4330 > URL: https://issues.apache.org/jira/browse/ARROW-4330 > Project: Apache Arrow > Issue Type: Improvement > Components: C++ > Reporter: Wes McKinney > Assignee: Wes McKinney > Priority: Major > Labels: pull-request-available > Fix For: 0.13.0 > > Time Spent: 40m > Remaining Estimate: 0h > > We are using {{find_library}} to find pthread which may not work for > non-system gcc toolchains. The preferred way it seems to handle this is with > {{find_package(Threads REQUIRED)}}. I will submit a patch -- This message was sent by Atlassian Jira (v8.20.10#820010)