From 970e929a09327fe5e642c0b5cb9f54a38677c855 Mon Sep 17 00:00:00 2001 From: Georg Richter Date: Tue, 16 Jul 2019 17:30:57 +0200 Subject: [PATCH] Fix for CONC-380: Fix cmake warnings (CMake Policy CMP0077) --- CMakeLists.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/CMakeLists.txt b/CMakeLists.txt index 2edc9e6ad..700c57ee9 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -5,7 +5,7 @@ CMAKE_MINIMUM_REQUIRED(VERSION 2.8 FATAL_ERROR) INCLUDE(CheckFunctionExists) IF(COMMAND CMAKE_POLICY) - SET(NEW_POLICIES CMP0003 CMP0022 CMP0023) + SET(NEW_POLICIES CMP0003 CMP0022 CMP0023 CMP0077) FOREACH(TYPE OLD NEW) FOREACH(P ${${TYPE}_POLICIES}) IF(POLICY ${P})