aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorVincent Pinon <[email protected]>2015-11-11 20:24:50 +0100
committerVincent Pinon <[email protected]>2015-11-11 20:24:50 +0100
commit8913c4d085ca09d7fddcebc801bbec7a9fb1ba04 (patch)
treed5079be0a38ef514ff42be5ec5c73d40f2382468
parentea0ab0a12b50d82232d82392cd62abc0110b2e5d (diff)
fix building on CI
-rw-r--r--CMakeLists.txt4
1 files changed, 3 insertions, 1 deletions
diff --git a/CMakeLists.txt b/CMakeLists.txt
index 35f76cd..b1a4f39 100644
--- a/CMakeLists.txt
+++ b/CMakeLists.txt
@@ -10,7 +10,9 @@ set (KDE_APPLICATIONS_VERSION_MICRO "0")
set(KDENLIVE_VERSION ${KDE_APPLICATIONS_VERSION_MAJOR}.${KDE_APPLICATIONS_VERSION_MINOR}.${KDE_APPLICATIONS_VERSION_MICRO})
cmake_minimum_required(VERSION 2.8.12)
-cmake_policy(SET CMP0063 NEW)
+if(POLICY CMP0063)
+ cmake_policy(SET CMP0063 NEW)
+endif()
# Minimum versions of main dependencies.
set(MLT_MIN_MAJOR_VERSION 0)
set(MLT_MIN_MINOR_VERSION 9)