From d27fd38a6c0fbd21e5b89add514158c5516ed3b5 Mon Sep 17 00:00:00 2001 From: Jonathan Keane Date: Tue, 3 Aug 2021 09:41:04 -0500 Subject: [PATCH] changes from ARROW-2243 --- cpp/CMakeLists.txt | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/cpp/CMakeLists.txt b/cpp/CMakeLists.txt index 78b19ba59308e..8b824ee0b8f2b 100644 --- a/cpp/CMakeLists.txt +++ b/cpp/CMakeLists.txt @@ -41,6 +41,11 @@ if(POLICY CMP0068) cmake_policy(SET CMP0068 NEW) endif() +if(POLICY CMP0069) + # https://cmake.org/cmake/help/latest/policy/CMP0069.html + cmake_policy(SET CMP0069 OLD) +endif() + # find_package() uses _ROOT variables. # https://cmake.org/cmake/help/latest/policy/CMP0074.html if(POLICY CMP0074)