Supress CMake warning
authorunc0rr
Sun, 27 Jul 2008 13:32:15 +0000
changeset 1107 ee873ada9e86
parent 1106 f868b7307003
child 1108 c77267d982ee
Supress CMake warning
CMakeLists.txt
--- a/CMakeLists.txt	Sun Jul 27 12:57:15 2008 +0000
+++ b/CMakeLists.txt	Sun Jul 27 13:32:15 2008 +0000
@@ -2,6 +2,11 @@
 
 cmake_minimum_required(VERSION 2.4.4 FATAL_ERROR)
 
+if(COMMAND cmake_policy)
+	cmake_policy(SET CMP0003 NEW)
+endif(COMMAND cmake_policy)
+
+
 set(CPACK_PACKAGE_VERSION_MAJOR "0")
 set(CPACK_PACKAGE_VERSION_MINOR "9")
 set(CPACK_PACKAGE_VERSION_PATCH "6-dev")