[ https://issues.apache.org/jira/browse/ARROW-5081?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17662103#comment-17662103 ]
Rok Mihevc commented on ARROW-5081: ----------------------------------- This issue has been migrated to [issue #16053|https://github.com/apache/arrow/issues/16053] on GitHub. Please see the [migration documentation|https://github.com/apache/arrow/issues/14542] for further details. > [C++] Consistently use PATH_SUFFIXES in CMake config > ---------------------------------------------------- > > Key: ARROW-5081 > URL: https://issues.apache.org/jira/browse/ARROW-5081 > Project: Apache Arrow > Issue Type: Improvement > Components: C++ > Reporter: David Li > Assignee: David Li > Priority: Major > Labels: pull-request-available > Fix For: 0.14.0 > > Time Spent: 5h 20m > Remaining Estimate: 0h > > In trying to set up a build using system libraries installed to non-default > paths, CMake doesn't consistently search user-specified paths for libraries. > For instance, FindDoubleConversion.cmake will look only at > ${DoubleConversion_ROOT}/libdoubleconversion.so for the shared library, > making it impossible to have a directory setup like doubleconversion/lib/*.so > + doubleconversion/include. Other Find*.cmake files set PATH_SUFFIXES to also > search the lib/ subdirectory; we should do this everywhere. > Additionally, it seems the various Find*.cmake files set PATH_SUFFIXES > inconsistently. Some hardcode their own list, others use > CMAKE_LIBRARY_ARCHITECTURE. -- This message was sent by Atlassian Jira (v8.20.10#820010)