From be459ca00b3bea7a0251e0ad7a8c90b205e0d9a3 Mon Sep 17 00:00:00 2001 From: Stanislaw Halik Date: Wed, 8 Jul 2015 14:38:34 +0200 Subject: reduce cmake policy whine --- CMakeLists.txt | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) (limited to 'CMakeLists.txt') diff --git a/CMakeLists.txt b/CMakeLists.txt index 7046c549..9c858587 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -2,7 +2,10 @@ project(opentrack) cmake_minimum_required(VERSION 2.8.11) cmake_policy(SET CMP0020 NEW) if(POLICY CMP0058) - cmake_policy(SET CMP0058 OLD) + cmake_policy(SET CMP0058 OLD) +endif() +if(POLICY CMP0028) + cmake_policy(SET CMP0028 OLD) endif() include(CMakeParseArguments) -- cgit v1.2.3