From 832e97b04d399492c6e997395ea0dbd1f731ec92 Mon Sep 17 00:00:00 2001 From: Andrea Diamantini Date: Sun, 1 Mar 2009 12:17:17 +0100 Subject: Updating CMakeLists.txt --- CMakeLists.txt | 15 ++++++++++----- 1 file changed, 10 insertions(+), 5 deletions(-) diff --git a/CMakeLists.txt b/CMakeLists.txt index 56d8f9b3..eea4c3e4 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -9,9 +9,9 @@ PROJECT( rekonq ) # rekonq version SET(REKONQ_MAJOR_VERSION "0") SET(REKONQ_MINOR_VERSION "0") -SET(REKONQ_PATCH_VERSION "3") +SET(REKONQ_PATCH_VERSION "4") -SET(REKONQ_VERSION_STRING +SET(REKONQ_VERSION_STR "${REKONQ_MAJOR_VERSION}.${REKONQ_MINOR_VERSION}.${REKONQ_PATCH_VERSION}" ) @@ -37,18 +37,23 @@ INCLUDE(MacroLibrary) MESSAGE(STATUS "") MESSAGE(STATUS "----------------------------------------------------------------------------------") -MESSAGE(STATUS " rekonq ${REKONQ_VERSION_STRING} dependencies results ") +MESSAGE(STATUS " rekonq ${REKONQ_VERSION_STR} dependencies results ") MESSAGE(STATUS "") # Require shared libraries results. +SET(QT_VERS_STR + "${QT_VERSION_MAJOR}.${QT_VERSION_MINOR}.${QT_VERSION_PATCH}" + ) + IF(QT_FOUND) MESSAGE(STATUS " Qt library found............... YES") + MESSAGE(STATUS " Qt version ${QT_VERS_STR} found! ") ELSE(QT_FOUND) MESSAGE(STATUS " Qt library found............... NO") MESSAGE(STATUS "") - MESSAGE(SEND_ERROR " rekonq needs at least Qt 4.4.0. Please install it and try compiling again.") - MESSAGE(STATUS " Qt website is at http://www.trolltech.com") + MESSAGE(SEND_ERROR " rekonq needs at least Qt ${QT_MIN_VERSION}. Please install it and try compiling again.") + MESSAGE(STATUS " Qt website is at http://www.qtsoftware.com") MESSAGE(STATUS "") ENDIF(QT_FOUND) -- cgit v1.2.1