From 634dd91b665cfd0a544a0525863b11ff2fde6c89 Mon Sep 17 00:00:00 2001 From: Fabio Bas Date: Thu, 26 Jun 2014 20:19:47 +0200 Subject: [PATCH] Set some cmake policies to mute cmake warnings --- CMakeLists.txt | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/CMakeLists.txt b/CMakeLists.txt index ed69a67a..b2439806 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -7,6 +7,14 @@ cmake_minimum_required(VERSION 2.6) +if(POLICY CMP0043) + cmake_policy(SET CMP0043 OLD) +endif() + +if(POLICY CMP0048) + cmake_policy(SET CMP0048 OLD) +endif() + set(PROJECT_NAME "Cockatrice") set(PROJECT_VERSION_MAJOR 0) set(PROJECT_VERSION_MINOR 0)