Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.blender.org/blender.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCampbell Barton <ideasman42@gmail.com>2014-06-11 09:59:03 +0400
committerDalai Felinto <dfelinto@gmail.com>2014-06-11 10:00:57 +0400
commitbd43ac04a5b36743d7234e076c1d9b39657dda48 (patch)
tree11c29bdc401c92a2ba07ef5f4890dac7d906cc72 /CMakeLists.txt
parenta8a536d23da73e3f57d54fa1f7c2276f3ca83025 (diff)
CMake: quite warnings with 3.0 (without breaking < 3.0 CMakes)
Diffstat (limited to 'CMakeLists.txt')
-rw-r--r--CMakeLists.txt5
1 files changed, 5 insertions, 0 deletions
diff --git a/CMakeLists.txt b/CMakeLists.txt
index 738518235d5..0ab31ddefb3 100644
--- a/CMakeLists.txt
+++ b/CMakeLists.txt
@@ -47,6 +47,11 @@ endif()
cmake_minimum_required(VERSION 2.8)
+if(NOT (CMAKE_VERSION VERSION_LESS 3.0))
+ # keep until CMake-3.0 is min requirement
+ cmake_policy(SET CMP0043 OLD)
+endif()
+
if(NOT EXECUTABLE_OUTPUT_PATH)
set(FIRST_RUN "TRUE")
endif()