summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-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)