summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorSlávek Banko <slavek.banko@axis.cz>2017-10-14 17:05:06 (GMT)
committer Slávek Banko <slavek.banko@axis.cz>2017-10-14 17:05:16 (GMT)
commit6fbd5fcdf1b145af2c145c1526fda1f809c8827b (patch)
treeedf5f8b9e729cc1fb93182ed5d9ec8f10a0a8dd5
parent68cb29a12f8f2a336088f087cdbc9e0e7aa92ae5 (diff)
downloadlibtdevnc-6fbd5fcd.zip
libtdevnc-6fbd5fcd.tar.gz
Fix build with cmake < 3.0HEADorigin/masterorigin/HEADmaster
-rw-r--r--CMakeLists.txt4
1 files changed, 3 insertions, 1 deletions
diff --git a/CMakeLists.txt b/CMakeLists.txt
index 52b0a0a..88afefe 100644
--- a/CMakeLists.txt
+++ b/CMakeLists.txt
@@ -1,5 +1,7 @@
cmake_minimum_required(VERSION 2.6)
-cmake_policy(SET CMP0037 NEW)
+if( POLICY CMP0037 )
+ cmake_policy(SET CMP0037 NEW)
+endif( POLICY CMP0037 )
project(LibVNCServer)
include(CheckFunctionExists)