diff options
Diffstat (limited to 'modules')
| -rw-r--r-- | modules/FindKDE4Internal.cmake | 8 | 
1 files changed, 6 insertions, 2 deletions
| diff --git a/modules/FindKDE4Internal.cmake b/modules/FindKDE4Internal.cmake index 80e3656c..75cb9988 100644 --- a/modules/FindKDE4Internal.cmake +++ b/modules/FindKDE4Internal.cmake @@ -315,9 +315,13 @@ endif(KDE4_FIND_REQUIRED  OR  KDE4Internal_FIND_REQUIRED)  # if the minimum Qt requirement is changed, change all occurrence in the  # following lines -if( NOT QT_MIN_VERSION OR ${QT_MIN_VERSION} VERSION_LESS "4.5.0" ) +if( NOT QT_MIN_VERSION )    set(QT_MIN_VERSION "4.5.0") -endif( NOT QT_MIN_VERSION OR ${QT_MIN_VERSION} VERSION_LESS "4.5.0" ) +endif( NOT QT_MIN_VERSION ) +if( ${QT_MIN_VERSION} VERSION_LESS "4.5.0" ) +  set(QT_MIN_VERSION "4.5.0") +endif( ${QT_MIN_VERSION} VERSION_LESS "4.5.0" ) +  #this line includes FindQt4.cmake, which searches the Qt library and headers  find_package(Qt4 ${_REQ_STRING_KDE4}) | 
