From 6e087d67be1f55ba6b1aee9bccdc8904514236f3 Mon Sep 17 00:00:00 2001 From: "Uwe L. Korn" Date: Sat, 29 Jun 2019 18:42:55 +0200 Subject: [PATCH] ARROW-5609: [C++] 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 c09bdebc68a..0e19b81ee0f 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 _ROOT variables in find_package if(POLICY CMP0074) # https://cmake.org/cmake/help/v3.12/policy/CMP0074.html