From 4c3ffe5a5f37addef0dd6283c74c4402a3b4ebc9 Mon Sep 17 00:00:00 2001 From: Wenzel Jakob Date: Sat, 28 Apr 2018 18:08:01 +0200 Subject: [PATCH] Set CMake policy CMP0068 to NEW to quench warnings --- CMakeLists.txt | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/CMakeLists.txt b/CMakeLists.txt index f45220f..edac340 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -14,6 +14,10 @@ if(POLICY CMP0058) cmake_policy(SET CMP0058 NEW) endif() +if(POLICY CMP0068) + cmake_policy(SET CMP0068 NEW) +endif() + if(NOT CMAKE_BUILD_TYPE AND NOT CMAKE_CONFIGURATION_TYPES) message(STATUS "Setting build type to 'Release' as none was specified.") set(CMAKE_BUILD_TYPE Release CACHE STRING "Choose the type of build." FORCE)