kou commented on issue #41624:
URL: https://github.com/apache/arrow/issues/41624#issuecomment-2106148559
Could you try this?
```diff
diff --git a/cpp/src/parquet/CMakeLists.txt b/cpp/src/parquet/CMakeLists.txt
index 93f2e72d8d..28d9991629 100644
--- a/cpp/src/parquet/CMakeLists.txt
+++ b/cpp/src/parquet/CMakeLists.txt
@@ -262,13 +262,13 @@ if(NOT PARQUET_MINIMAL_DEPENDENCY)
# These are libraries that we will link privately with parquet_shared (as
they
# do not need to be linked transitively by other linkers)
- list(APPEND PARQUET_SHARED_PRIVATE_LINK_LIBS thrift::thrift)
+ list(APPEND PARQUET_SHARED_PRIVATE_LINK_LIBS thrift::thrift
Boost::headers)
# Link publicly with parquet_static (because internal users need to
# transitively link all dependencies)
- list(APPEND PARQUET_STATIC_LINK_LIBS thrift::thrift)
+ list(APPEND PARQUET_STATIC_LINK_LIBS thrift::thrift Boost::headers)
if(NOT THRIFT_VENDORED)
- list(APPEND PARQUET_STATIC_INSTALL_INTERFACE_LIBS thrift::thrift)
+ list(APPEND PARQUET_STATIC_INSTALL_INTERFACE_LIBS thrift::thrift
Boost::headers)
endif()
endif()
if(ARROW_WITH_OPENTELEMETRY)
```
--
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: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]