[prev in list] [next in list] [prev in thread] [next in thread] 

List:       kde-commits
Subject:    [Konversation] 1bdd534: Add minimum required KDE version number to
From:       Modestas Vainius <modestas () vainius ! eu>
Date:       2010-05-09 17:27:11
Message-ID: 201005091727.o49HRBcU010310 () kore ! kollide ! net
[Download RAW message or body]

commit 1bdd5345be2709015de3f4545e4fc4b02f5684ca
Author: Modestas Vainius <modestas@vainius.eu>
Date:   Sun May 9 20:25:41 2010 +0300

    Add minimum required KDE version number to find_package(KDE4 ...)
    
    Still cannot remove set(KDE_MIN_VERSION "4.3.0") above as it is needed for the
    check to work with < KDE 4.2.

diff --git a/CMakeLists.txt b/CMakeLists.txt
index 7828532..2eef34a 100644
--- a/CMakeLists.txt
+++ b/CMakeLists.txt
@@ -6,7 +6,7 @@ cmake_minimum_required(VERSION 2.6.2)
 set(KDE_MIN_VERSION "4.3.0")
 
 #atm this gets us FindQt4 and FindX11 (provided that the default cmake FindQt4 doesn't get used)
-find_package(KDE4 REQUIRED)
+find_package(KDE4 4.3.0 REQUIRED)
 find_package(KdepimLibs REQUIRED)
 include(KDE4Defaults)
 include(MacroLibrary)
[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic