Browse Source

Silence verbose cmake policy warnings on Windows

Jocelyn Turcotte 10 years ago
parent
commit
4441d3b342
1 changed files with 3 additions and 1 deletions
  1. 3 1
      CMakeLists.txt

+ 3 - 1
CMakeLists.txt

@@ -1,5 +1,7 @@
 cmake_minimum_required(VERSION 2.6)
-cmake_policy(VERSION 2.8.0)
+cmake_policy(VERSION 2.8.12)
+cmake_policy(SET CMP0043 NEW) # For VERSION < 3.3
+cmake_policy(SET CMP0058 NEW) # For VERSION < 3.3
 
 project(client)