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:
authorAaron Carlisle <carlisle.b3d@gmail.com>2020-02-04 06:39:28 +0300
committerAaron Carlisle <carlisle.b3d@gmail.com>2020-02-04 06:39:28 +0300
commitc482e22f3fff291183683fee29c352ef57edd166 (patch)
tree61a463955fafa9247e5e52d5de0716093ede49e1 /CMakeLists.txt
parent03a29090b57d087b7996dd25e1505537221233f9 (diff)
parentfdb68e184714f480c87c13c3c34480e9adfe4620 (diff)
Merge branch 'blender-v2.82-release'
Diffstat (limited to 'CMakeLists.txt')
-rw-r--r--CMakeLists.txt4
1 files changed, 3 insertions, 1 deletions
diff --git a/CMakeLists.txt b/CMakeLists.txt
index 17e4ec23ed9..bbca47f26c1 100644
--- a/CMakeLists.txt
+++ b/CMakeLists.txt
@@ -98,7 +98,9 @@ cmake_policy(SET CMP0010 NEW)
cmake_policy(SET CMP0014 NEW)
# Silence draco warning on macOS, new policy works fine.
-cmake_policy(SET CMP0068 NEW)
+if(POLICY CMP0068)
+ cmake_policy(SET CMP0068 NEW)
+endif()
#-----------------------------------------------------------------------------
# Load some macros.