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/06/30 19:05:00 UTC

[arrow] branch master updated: 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 master
in repository https://gitbox.apache.org/repos/asf/arrow.git


The following commit(s) were added to refs/heads/master by this push:
     new 10083ab  ARROW-5609: [C++] Set CMP0068 CMake policy to avoid macOS warnings
10083ab is described below

commit 10083ab9bc4b274dcf8df6cf469e9a835d513867
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 c09bdeb..0e19b81 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