kou commented on issue #49499:
URL: https://github.com/apache/arrow/issues/49499#issuecomment-4070787897

   Thanks. I couldn't download `full_log.txt` (InvalidRange error) but could 
download `ArrowConfig.cmake`.
   
   Ah, vcpkg doesn't use `-DARROW_DEPENDENCY_SOURCE=VCPKG` 
https://github.com/microsoft/vcpkg/blob/4b77da7fed37817f124936239197833469f1b9a8/ports/arrow/portfile.cmake#L59
 ...
   
   How about this? You can try this by rebuilding the `arrow` vcpkg port with 
this patch.
   
   ```diff
   diff --git a/cpp/CMakeLists.txt b/cpp/CMakeLists.txt
   index 44186494ec..ea15bb7066 100644
   --- a/cpp/CMakeLists.txt
   +++ b/cpp/CMakeLists.txt
   @@ -115,6 +115,8 @@ list(PREPEND CMAKE_MODULE_PATH 
"${CMAKE_CURRENT_SOURCE_DIR}/cmake_modules")
    # vcpkg (ab)uses CMAKE_TOOLCHAIN_FILE to inject its logic into CMake
    if(ARROW_DEPENDENCY_SOURCE STREQUAL "VCPKG")
      include(Usevcpkg)
   +elseif(ARROW_PACKAGE_KIND STREQUAL "vcpkg")
   +  set(ARROW_VCPKG ON)
    endif()
    
    project(arrow VERSION "${ARROW_BASE_VERSION}")
   ```


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to