From 705f267c418c3467f2beafba4cc07739189dd541 Mon Sep 17 00:00:00 2001 From: Sutou Kouhei Date: Thu, 23 Oct 2025 15:45:20 +0900 Subject: [PATCH 1/2] GH-47914: [C++] Fix system Apache ORC used detection We need to use `orc_SOURCE` not `ORC_SOURCE`. --- cpp/src/arrow/CMakeLists.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/cpp/src/arrow/CMakeLists.txt b/cpp/src/arrow/CMakeLists.txt index fcdfaa21c71..9f30cc13e31 100644 --- a/cpp/src/arrow/CMakeLists.txt +++ b/cpp/src/arrow/CMakeLists.txt @@ -80,7 +80,7 @@ if(ARROW_WITH_ZSTD) endif() if(ARROW_ORC) - if(ORC_SOURCE STREQUAL "SYSTEM") + if(orc_SOURCE STREQUAL "SYSTEM") list(APPEND ARROW_STATIC_INSTALL_INTERFACE_LIBS orc::orc) endif() endif() From 1cef7e1e13a4040c052971b79f41e871c12cc151 Mon Sep 17 00:00:00 2001 From: Sutou Kouhei Date: Thu, 23 Oct 2025 17:32:49 +0900 Subject: [PATCH 2/2] Use glog_SOURCE --- cpp/src/arrow/CMakeLists.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/cpp/src/arrow/CMakeLists.txt b/cpp/src/arrow/CMakeLists.txt index 9f30cc13e31..0401ea8efd7 100644 --- a/cpp/src/arrow/CMakeLists.txt +++ b/cpp/src/arrow/CMakeLists.txt @@ -86,7 +86,7 @@ if(ARROW_ORC) endif() if(ARROW_USE_GLOG) - if(GLOG_SOURCE STREQUAL "SYSTEM") + if(glog_SOURCE STREQUAL "SYSTEM") list(APPEND ARROW_STATIC_INSTALL_INTERFACE_LIBS glog::glog) endif() endif()