kou commented on issue #45614:
URL: https://github.com/apache/arrow/issues/45614#issuecomment-2681645377
Thanks. Could you try this?
```diff
diff --git a/cpp/CMakeLists.txt b/cpp/CMakeLists.txt
index f2500b3a72..10f54bcd57 100644
--- a/cpp/CMakeLists.txt
+++ b/cpp/CMakeLists.txt
@@ -71,6 +71,13 @@ if(POLICY CMP0135)
cmake_policy(SET CMP0135 NEW)
endif()
+# https://cmake.org/cmake/help/latest/policy/CMP0167.html
+#
+# Use Boost's CMake packages instead of FindBoost.cmake in CMake.
+if(POLICY CMP0167)
+ cmake_policy(SET CMP0167 NEW)
+endif()
+
# https://cmake.org/cmake/help/latest/policy/CMP0170.html
#
# CMP0170 is for enforcing dependency populations by users with
```
--
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]