[Bf-blender-cvs] [da7bdf1] master: CMake: quiet warnigns with 3.0

Campbell Barton noreply at git.blender.org
Wed Jun 11 05:47:07 CEST 2014


Commit: da7bdf1b47d4490c1a6f35740a9392cb9b5dd42e
Author: Campbell Barton
Date:   Wed Jun 11 13:46:19 2014 +1000
https://developer.blender.org/rBda7bdf1b47d4490c1a6f35740a9392cb9b5dd42e

CMake: quiet warnigns with 3.0

===================================================================

M	CMakeLists.txt

===================================================================

diff --git a/CMakeLists.txt b/CMakeLists.txt
index 7385182..e862afd 100644
--- a/CMakeLists.txt
+++ b/CMakeLists.txt
@@ -46,6 +46,8 @@ if(${CMAKE_SOURCE_DIR} STREQUAL ${CMAKE_BINARY_DIR})
 endif()
 
 cmake_minimum_required(VERSION 2.8)
+# keep until CMake-3.0 is min requirement
+cmake_policy(SET CMP0043 OLD)
 
 if(NOT EXECUTABLE_OUTPUT_PATH)
 	set(FIRST_RUN "TRUE")




More information about the Bf-blender-cvs mailing list