You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@arrow.apache.org by we...@apache.org on 2019/07/13 17:02:03 UTC
[arrow] 08/43: ARROW-5609: [C++] Set CMP0068 CMake policy to avoid
macOS warnings
This is an automated email from the ASF dual-hosted git repository.
wesm pushed a commit to branch maint-0.14.x
in repository https://gitbox.apache.org/repos/asf/arrow.git
commit a2c015a6b6247a9b55ca473a9f2d085ad89135bf
Author: Uwe L. Korn <uw...@xhochy.com>
AuthorDate: Sun Jun 30 14:04:46 2019 -0500
ARROW-5609: [C++] Set CMP0068 CMake policy to avoid macOS warnings
C++ and Python Tests pass locally so this seems to be ok for us.
Author: Uwe L. Korn <uw...@xhochy.com>
Closes #4752 from xhochy/ARROW-5609 and squashes the following commits:
6e087d67b <Uwe L. Korn> ARROW-5609: Set CMP0068 CMake policy to avoid macOS warnings
---
cpp/CMakeLists.txt | 5 +++++
1 file changed, 5 insertions(+)
diff --git a/cpp/CMakeLists.txt b/cpp/CMakeLists.txt
index 1c706cd..6d56718 100644
--- a/cpp/CMakeLists.txt
+++ b/cpp/CMakeLists.txt
@@ -70,6 +70,11 @@ if(POLICY CMP0054)
cmake_policy(SET CMP0054 NEW)
endif()
+if(POLICY CMP0068)
+ # https://cmake.org/cmake/help/v3.9/policy/CMP0068.html
+ cmake_policy(SET CMP0068 NEW)
+endif()
+
# don't ignore <PackageName>_ROOT variables in find_package
if(POLICY CMP0074)
# https://cmake.org/cmake/help/v3.12/policy/CMP0074.html