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

   Does this work?
   
   ```diff
   diff --git a/cpp/cmake_modules/ThirdpartyToolchain.cmake 
b/cpp/cmake_modules/ThirdpartyToolchain.cmake
   index 978f03198..3a6f36350 100644
   --- a/cpp/cmake_modules/ThirdpartyToolchain.cmake
   +++ b/cpp/cmake_modules/ThirdpartyToolchain.cmake
   @@ -975,9 +975,11 @@ set(EP_COMMON_CMAKE_ARGS
    
    # Enable s/ccache if set by parent.
    if(CMAKE_C_COMPILER_LAUNCHER AND CMAKE_CXX_COMPILER_LAUNCHER)
   +  file(TO_CMAKE_PATH "${CMAKE_C_COMPILER_LAUNCHER}" 
EP_CMAKE_C_COMPILER_LAUNCHER)
   +  file(TO_CMAKE_PATH "${CMAKE_CXX_COMPILER_LAUNCHER}" 
EP_CMAKE_CXX_COMPILER_LAUNCHER)
      list(APPEND EP_COMMON_CMAKE_ARGS
   -       -DCMAKE_C_COMPILER_LAUNCHER=${CMAKE_C_COMPILER_LAUNCHER}
   -       -DCMAKE_CXX_COMPILER_LAUNCHER=${CMAKE_CXX_COMPILER_LAUNCHER})
   +       -DCMAKE_C_COMPILER_LAUNCHER=${EP_CMAKE_C_COMPILER_LAUNCHER}
   +       -DCMAKE_CXX_COMPILER_LAUNCHER=${EP_CMAKE_CXX_COMPILER_LAUNCHER})
    endif()
    
    if(NOT ARROW_VERBOSE_THIRDPARTY_BUILD)
   ```


-- 
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