mirror of
https://github.com/microsoft/vcpkg.git
synced 2024-11-27 22:39:01 +08:00
[arrow] Add Flight findpackage (#33934)
* [arrow] Add Flight findpackage * update version * apply suggesstion * update version --------- Co-authored-by: Zhao Liu <v-zhli17@microsoft.com>
This commit is contained in:
parent
1b4d69f302
commit
84296312ba
@ -88,6 +88,14 @@ if("acero" IN_LIST FEATURES)
|
||||
)
|
||||
endif()
|
||||
|
||||
if("flight" IN_LIST FEATURES)
|
||||
vcpkg_cmake_config_fixup(
|
||||
PACKAGE_NAME ArrowFlight
|
||||
CONFIG_PATH lib/cmake/ArrowFlight
|
||||
DO_NOT_DELETE_PARENT_CONFIG_PATH
|
||||
)
|
||||
endif()
|
||||
|
||||
if("parquet" IN_LIST FEATURES)
|
||||
vcpkg_cmake_config_fixup(
|
||||
PACKAGE_NAME parquet
|
||||
@ -111,6 +119,11 @@ if("acero" IN_LIST FEATURES)
|
||||
file(APPEND "${CURRENT_PACKAGES_DIR}/share/${PORT}/usage" "${usage-acero}")
|
||||
endif()
|
||||
|
||||
if("flight" IN_LIST FEATURES)
|
||||
file(READ "${CMAKE_CURRENT_LIST_DIR}/usage-flight" usage-flight)
|
||||
file(APPEND "${CURRENT_PACKAGES_DIR}/share/${PORT}/usage" "${usage-flight}")
|
||||
endif()
|
||||
|
||||
if("example" IN_LIST FEATURES)
|
||||
file(INSTALL "${SOURCE_PATH}/cpp/examples/minimal_build/" DESTINATION "${CURRENT_PACKAGES_DIR}/share/${PORT}/example")
|
||||
endif()
|
||||
|
3
ports/arrow/usage-flight
Normal file
3
ports/arrow/usage-flight
Normal file
@ -0,0 +1,3 @@
|
||||
|
||||
find_package(ArrowFlight CONFIG REQUIRED)
|
||||
target_link_libraries(main PRIVATE "$<IF:$<BOOL:${ARROW_BUILD_STATIC}>,ArrowFlight::arrow_flight_static,ArrowFlight::arrow_flight_shared>")
|
@ -1,6 +1,7 @@
|
||||
{
|
||||
"name": "arrow",
|
||||
"version": "13.0.0",
|
||||
"port-version": 1,
|
||||
"description": "Cross-language development platform for in-memory analytics",
|
||||
"homepage": "https://arrow.apache.org",
|
||||
"license": "Apache-2.0",
|
||||
|
@ -1,5 +1,10 @@
|
||||
{
|
||||
"versions": [
|
||||
{
|
||||
"git-tree": "58708e6a9ecca81874ff79869e9006d42ca2bbfe",
|
||||
"version": "13.0.0",
|
||||
"port-version": 1
|
||||
},
|
||||
{
|
||||
"git-tree": "ef87d769431fcefcb1d2864a9266cba168602fa2",
|
||||
"version": "13.0.0",
|
||||
|
@ -234,7 +234,7 @@
|
||||
},
|
||||
"arrow": {
|
||||
"baseline": "13.0.0",
|
||||
"port-version": 0
|
||||
"port-version": 1
|
||||
},
|
||||
"arsenalgear": {
|
||||
"baseline": "2.1.0",
|
||||
|
Loading…
Reference in New Issue
Block a user