diff --git a/cpp/cmake_modules/ThirdpartyToolchain.cmake b/cpp/cmake_modules/ThirdpartyToolchain.cmake index 35ad4089e7f91..c55f33d43ddc2 100644 --- a/cpp/cmake_modules/ThirdpartyToolchain.cmake +++ b/cpp/cmake_modules/ThirdpartyToolchain.cmake @@ -4717,6 +4717,9 @@ function(build_orc) if(TARGET absl::log_internal_check_op) target_link_libraries(orc::orc INTERFACE absl::log_internal_check_op) endif() + if(TARGET absl::log_internal_nullguard) + target_link_libraries(orc::orc INTERFACE absl::log_internal_nullguard) + endif() if(NOT MSVC) if(NOT APPLE AND ARROW_ENABLE_THREADING) target_link_libraries(orc::orc INTERFACE Threads::Threads)