From 8dbdd24c8eff2440afa4cfdd4596fcc15c689d97 Mon Sep 17 00:00:00 2001 From: tooomm Date: Thu, 25 Jan 2018 20:39:10 +0100 Subject: [PATCH] fix cmake 3.10 (#3048) --- CMakeLists.txt | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/CMakeLists.txt b/CMakeLists.txt index 9f9cd1dc..9bf9adfd 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -12,6 +12,10 @@ if(POLICY CMP0064) cmake_policy(SET CMP0064 NEW) endif() +if(POLICY CMP0071) + cmake_policy(SET CMP0071 NEW) +endif() + # Default to "Release" build type # User-provided value for CMAKE_BUILD_TYPE must be checked before the PROJECT() call IF(DEFINED CMAKE_BUILD_TYPE)