forked from mirrors/nixpkgs
arrow-cpp: search for Thrift using pkg-config instead of cmake
Setting it to "AUTO" allows for the first[1] find_package to fail
through to pkg-config search logic.
[1] 2ae84e8e90/cpp/cmake_modules/ThirdpartyToolchain.cmake (L228)
This commit is contained in:
parent
f00a6fdb82
commit
850930b13f
|
@ -90,6 +90,7 @@ in stdenv.mkDerivation rec {
|
|||
"-DARROW_BUILD_TESTS=ON"
|
||||
"-DARROW_VERBOSE_THIRDPARTY_BUILD=ON"
|
||||
"-DARROW_DEPENDENCY_SOURCE=SYSTEM"
|
||||
"-DThrift_SOURCE=AUTO" # search for Thrift using pkg-config (ThriftConfig.cmake requires OpenSSL and libevent)
|
||||
"-DARROW_DEPENDENCY_USE_SHARED=${if enableShared then "ON" else "OFF"}"
|
||||
"-DARROW_COMPUTE=ON"
|
||||
"-DARROW_CSV=ON"
|
||||
|
|
Loading…
Reference in a new issue