From 351cbb77d712f32d275a1906c7b83bd577af2db0 Mon Sep 17 00:00:00 2001 From: Sascha Kratky Date: Fri, 16 Jun 2017 15:26:58 +0200 Subject: [PATCH] enable policy CMP0055 --- CMake/cotire.cmake | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/CMake/cotire.cmake b/CMake/cotire.cmake index a7273c4..62cd23d 100644 --- a/CMake/cotire.cmake +++ b/CMake/cotire.cmake @@ -106,6 +106,11 @@ if (POLICY CMP0054) cmake_policy(SET CMP0054 NEW) endif() +if (POLICY CMP0055) + # strict checking for break() command + cmake_policy(SET CMP0055 NEW) +endif() + include(CMakeParseArguments) include(ProcessorCount)