This is an automated email from the ASF dual-hosted git repository.

weibin pushed a commit to branch main
in repository https://gitbox.apache.org/repos/asf/incubator-graphar.git


The following commit(s) were added to refs/heads/main by this push:
     new 210603e3 fix(c++): Raise error if cmake found arrow built without ORC 
support. (#552)
210603e3 is described below

commit 210603e32ba20ed5a68b1a4d5674b67a176ce6f2
Author: Jingbo Xu <[email protected]>
AuthorDate: Thu Jul 25 15:08:16 2024 +0800

    fix(c++): Raise error if cmake found arrow built without ORC support. (#552)
    
    * fix: raise error if cmake found arrow built without ORC support.
    
    * add quite back.
---
 cpp/CMakeLists.txt | 5 +++++
 1 file changed, 5 insertions(+)

diff --git a/cpp/CMakeLists.txt b/cpp/CMakeLists.txt
index d5737bdc..23840e8d 100644
--- a/cpp/CMakeLists.txt
+++ b/cpp/CMakeLists.txt
@@ -195,6 +195,11 @@ if (${Arrow_VERSION} VERSION_GREATER_EQUAL "12.0.0")
         message(FATAL_ERROR "apache-arrow-acero is required, please install it 
and retry")
     endif()
 endif()
+# Check if ORC is enabled.
+if (NOT ${ARROW_ORC})
+    message(FATAL_ERROR "apache-arrow ORC extension is required.")
+endif()
+
 find_package(Parquet QUIET)
 if (NOT ${Parquet_FOUND})
     message(FATAL_ERROR "parquet is required, please install it and retry")


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to