From 068c6e9f8ad6edc7da948844e414dae2bde2942f Mon Sep 17 00:00:00 2001
From: Teo Mrnjavac <teo@kde.org>
Date: Tue, 14 Oct 2014 17:17:41 +0200
Subject: [PATCH] Don't set CMP0043 on old CMake, take 3.

---
 CMakeLists.txt | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/CMakeLists.txt b/CMakeLists.txt
index 8b025cc5f1..ac18d54fbd 100644
--- a/CMakeLists.txt
+++ b/CMakeLists.txt
@@ -20,7 +20,7 @@ endif()
 cmake_policy( SET CMP0023 OLD )
 
 # Keep cmake 3.0 quiet
-if( "${CMAKE_VERSION}" VERSION_LESS "3.0.0" )
+if( POLICY CMP0043 )
     cmake_policy( SET CMP0043 OLD )
 endif()
 
-- 
GitLab