[prev in list] [next in list] [prev in thread] [next in thread]
List: kde-commits
Subject: [Konversation] 2a0818f: Just pass ${KDE_MIN_VERSION} to
From: Modestas Vainius <modestas () vainius ! eu>
Date: 2010-05-09 17:48:03
Message-ID: 201005091748.o49Hm3lF028976 () kore ! kollide ! net
[Download RAW message or body]
commit 2a0818f0dbb09cf27289fabd98aafdc4ff25c130
Author: Modestas Vainius <modestas@vainius.eu>
Date: Sun May 9 20:45:08 2010 +0300
Just pass ${KDE_MIN_VERSION} to find_package(KDE4).
Avoids repeating of the KDE version twice.
diff --git a/CMakeLists.txt b/CMakeLists.txt
index 2eef34a..5a69412 100644
--- a/CMakeLists.txt
+++ b/CMakeLists.txt
@@ -4,9 +4,8 @@ project(konversation)
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 4.3.0 REQUIRED)
+find_package(KDE4 ${KDE_MIN_VERSION} 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