From 150a9e8e14a287ac47a089847e0b64dee2187594 Mon Sep 17 00:00:00 2001 From: Bleach666 Date: Wed, 16 Mar 2016 13:12:44 +0200 Subject: [PATCH] suppress warning while generating solution in cmake --- CMakeLists.txt | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/CMakeLists.txt b/CMakeLists.txt index 0065507b3..23f243ed4 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -68,6 +68,10 @@ if(WINRT) endif() endif() +if(POLICY CMP0020) + cmake_policy(SET CMP0020 OLD) +endif() + if(POLICY CMP0022) cmake_policy(SET CMP0022 OLD) endif()