You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@arrow.apache.org by "David Li (JIRA)" <ji...@apache.org> on 2019/04/01 12:53:02 UTC

[jira] [Created] (ARROW-5081) [C++] Consistently use PATH_SUFFIXES in CMake config

David Li created ARROW-5081:
-------------------------------

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


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
(v7.6.3#76005)