pitrou commented on code in PR #45459: URL: https://github.com/apache/arrow/pull/45459#discussion_r2057982516
########## cpp/src/parquet/CMakeLists.txt: ########## @@ -260,6 +263,14 @@ endif() if(NOT PARQUET_MINIMAL_DEPENDENCY) list(APPEND PARQUET_SHARED_LINK_LIBS arrow_shared) + # Add RapidJSON libraries + if(NOT ARROW_JSON) Review Comment: I would suggest this diff: ```diff diff --git a/cpp/cmake_modules/ThirdpartyToolchain.cmake b/cpp/cmake_modules/ThirdpartyToolchain.cmake index 1af347914f..92ea7e346f 100644 --- a/cpp/cmake_modules/ThirdpartyToolchain.cmake +++ b/cpp/cmake_modules/ThirdpartyToolchain.cmake @@ -374,16 +374,13 @@ target_include_directories(arrow::flatbuffers # ---------------------------------------------------------------------- # Some EP's require other EP's -if(PARQUET_REQUIRE_ENCRYPTION) - set(ARROW_JSON ON) -endif() - if(ARROW_WITH_OPENTELEMETRY) set(ARROW_WITH_NLOHMANN_JSON ON) set(ARROW_WITH_PROTOBUF ON) endif() if(ARROW_PARQUET) + set(ARROW_WITH_RAPIDJSON ON) set(ARROW_WITH_THRIFT ON) endif() ``` -- 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: github-unsubscr...@arrow.apache.org For queries about this service, please contact Infrastructure at: us...@infra.apache.org