kou commented on PR #48751:
URL: https://github.com/apache/arrow/pull/48751#issuecomment-3717348782

   Can we use this instead?
   
   ```diff
   diff --git a/cpp/cmake_modules/ThirdpartyToolchain.cmake 
b/cpp/cmake_modules/ThirdpartyToolchain.cmake
   index 8a26b46d0b..d25aa01b62 100644
   --- a/cpp/cmake_modules/ThirdpartyToolchain.cmake
   +++ b/cpp/cmake_modules/ThirdpartyToolchain.cmake
   @@ -3724,6 +3724,8 @@ function(build_opentelemetry)
    
      prepare_fetchcontent()
    
   +  # TODO: Add the reason why we need to disable unity build...
   +  set(CMAKE_UNITY_BUILD FALSE)
      set(OTELCPP_PROTO_PATH "${opentelemetry_proto_SOURCE_DIR}")
      set(WITH_EXAMPLES OFF)
      set(WITH_OTLP_HTTP ON)
   ```


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