File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -375,6 +375,24 @@ else()
375375endif ()
376376target_link_libraries (velox PUBLIC external::geos )
377377
378+ find_package (veloxthrift CONFIG )
379+ if (veloxthrift_FOUND AND TARGET veloxthrift::veloxthrift)
380+ add_library (external::veloxthrift ALIAS veloxthrift::veloxthrift )
381+ else ()
382+ message (STATUS "import Velox bundled veloxthrift" )
383+ import_library (external::veloxthrift ${VELOX_BUILD_PATH} /velox/dwio/parquet/thrift/libvelox_dwio_parquet_thrift_raw.a )
384+ endif ()
385+ target_link_libraries (velox PUBLIC external::veloxthrift )
386+
387+ find_package (thriftprotocol CONFIG )
388+ if (thriftprotocol_FOUND AND TARGET thriftprotocol::thriftprotocol)
389+ add_library (external::thriftprotocol ALIAS thriftprotocol::thriftprotocol )
390+ else ()
391+ message (STATUS "import Velox bundled thriftprotocol" )
392+ import_library (external::thriftprotocol ${VELOX_BUILD_PATH} /_deps/thrift-build/lib/libthriftprotocol.a )
393+ endif ()
394+ target_link_libraries (velox PUBLIC external::thriftprotocol )
395+
378396find_package (simdjson CONFIG )
379397if (simdjson_FOUND AND TARGET simdjson::simdjson)
380398 target_link_libraries (velox PUBLIC simdjson::simdjson )
You can’t perform that action at this time.
0 commit comments