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)
main
Dmitry Kalinkin 3 years ago
parent f00a6fdb82
commit 850930b13f
No known key found for this signature in database
GPG Key ID: 5157B3EC8B2CA333
  1. 1
      pkgs/development/libraries/arrow-cpp/default.nix

@ -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…
Cancel
Save