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

raulcd pushed a commit to branch main
in repository https://gitbox.apache.org/repos/asf/arrow.git


The following commit(s) were added to refs/heads/main by this push:
     new 33391cb834 GH-50129: [C++][Parquet] Enable `ARROW_JSON` automatically 
with `PARQUET_REQUIRE_ENCRYPTION` (#50130)
33391cb834 is described below

commit 33391cb8346252ece88ec6d318bffcf02d6944c9
Author: Sutou Kouhei <[email protected]>
AuthorDate: Tue Jun 9 18:36:10 2026 +0900

    GH-50129: [C++][Parquet] Enable `ARROW_JSON` automatically with 
`PARQUET_REQUIRE_ENCRYPTION` (#50130)
    
    ### Rationale for this change
    
    `PARQUET_REQUIRE_ENCRYPTION` needs `ARROW_JSON`. So `ARROW_JSON` should be 
enabled automatically when `PARQUET_REQUIRE_ENCRYPTION` is used.
    
    ### What changes are included in this PR?
    
    Add missing `ARROW_JSON` dependency to `PARQUET_REQUIRE_ENCRYPTION`.
    
    ### Are these changes tested?
    
    Yes.
    
    ### Are there any user-facing changes?
    
    Yes.
    * GitHub Issue: #50129
    
    Authored-by: Sutou Kouhei <[email protected]>
    Signed-off-by: Raúl Cumplido <[email protected]>
---
 cpp/cmake_modules/DefineOptions.cmake | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/cpp/cmake_modules/DefineOptions.cmake 
b/cpp/cmake_modules/DefineOptions.cmake
index fd89dfc5b0..c372f9f198 100644
--- a/cpp/cmake_modules/DefineOptions.cmake
+++ b/cpp/cmake_modules/DefineOptions.cmake
@@ -593,7 +593,8 @@ takes precedence over ccache if a storage backend is 
configured" ON)
                 "Build support for encryption. Fail if OpenSSL is not found"
                 OFF
                 DEPENDS
-                ARROW_FILESYSTEM)
+                ARROW_FILESYSTEM
+                ARROW_JSON)
 
   #----------------------------------------------------------------------
   set_option_category("Gandiva")

Reply via email to