Skip to content

Commit

Permalink
vcpkg libxml2
Browse files Browse the repository at this point in the history
  • Loading branch information
Tom-Newton committed Aug 10, 2023
1 parent 525a87c commit 0cbd6e9
Show file tree
Hide file tree
Showing 4 changed files with 13 additions and 13 deletions.
1 change: 0 additions & 1 deletion ci/scripts/python_wheel_manylinux_build.sh
Original file line number Diff line number Diff line change
Expand Up @@ -125,7 +125,6 @@ cmake \
-DCMAKE_UNITY_BUILD=${CMAKE_UNITY_BUILD} \
-DORC_PROTOBUF_EXECUTABLE=${VCPKG_ROOT}/installed/${VCPKG_TARGET_TRIPLET}/tools/protobuf/protoc \
-DORC_SOURCE=BUNDLED \
-DLibXml2_SOURCE=BUNDLED \
-DPARQUET_REQUIRE_ENCRYPTION=${PARQUET_REQUIRE_ENCRYPTION} \
-DVCPKG_MANIFEST_MODE=OFF \
-DVCPKG_TARGET_TRIPLET=${VCPKG_TARGET_TRIPLET} \
Expand Down
8 changes: 0 additions & 8 deletions cpp/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -798,14 +798,6 @@ endif()
if(ARROW_AZURE)
list(APPEND ARROW_SHARED_LINK_LIBS ${AZURESDK_LINK_LIBRARIES})
list(APPEND ARROW_STATIC_LINK_LIBS ${AZURESDK_LINK_LIBRARIES})
if(AZURE_SDK_SOURCE STREQUAL "SYSTEM")
list(APPEND ARROW_STATIC_INSTALL_INTERFACE_LIBS
Azure::azure-core
Azure::azure-identity
Azure::azure-storage-blobs
Azure::azure-storage-common
Azure::azure-storage-files-datalake)
endif()
endif()

if(ARROW_WITH_UTF8PROC)
Expand Down
16 changes: 12 additions & 4 deletions cpp/cmake_modules/ThirdpartyToolchain.cmake
Original file line number Diff line number Diff line change
Expand Up @@ -5256,10 +5256,18 @@ macro(build_azuresdk)
endmacro()

if(ARROW_AZURE)
resolve_dependency(AZURE_SDK)

message(STATUS "Found Azure SDK headers: ${AZURESDK_INCLUDE_DIR}")
message(STATUS "Found Azure SDK libraries: ${AZURESDK_LINK_LIBRARIES}")
if(AZURE_SDK_SOURCE STREQUAL "SYSTEM")
list(APPEND ARROW_STATIC_INSTALL_INTERFACE_LIBS
Azure::azure-core
Azure::azure-identity
Azure::azure-storage-blobs
Azure::azure-storage-common
Azure::azure-storage-files-datalake)
else()
resolve_dependency(AZURE_SDK)
message(STATUS "Found Azure SDK headers: ${AZURESDK_INCLUDE_DIR}")
message(STATUS "Found Azure SDK libraries: ${AZURESDK_LINK_LIBRARIES}")
endif()
endif()

# ----------------------------------------------------------------------
Expand Down
1 change: 1 addition & 0 deletions cpp/vcpkg.json
Original file line number Diff line number Diff line change
Expand Up @@ -42,6 +42,7 @@
},
"grpc",
"gtest",
"libxml2",
"lz4",
"openssl",
"orc",
Expand Down

0 comments on commit 0cbd6e9

Please sign in to comment.