From fc8c55ae9761c037f63344bb6783c06923d3e395 Mon Sep 17 00:00:00 2001 From: Fabio Bas Date: Fri, 27 Jun 2014 17:24:25 +0200 Subject: [PATCH] Added cmake policy specific for win32 compilation --- CMakeLists.txt | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/CMakeLists.txt b/CMakeLists.txt index b2439806..1317c483 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -7,6 +7,10 @@ cmake_minimum_required(VERSION 2.6) +if(POLICY CMP0020) + cmake_policy(SET CMP0020 OLD) +endif() + if(POLICY CMP0043) cmake_policy(SET CMP0043 OLD) endif()