aboutsummaryrefslogtreecommitdiff
path: root/find-modules/FindQt5Transitional.cmake
diff options
context:
space:
mode:
authorVolker Krause <vkrause@kde.org>2012-11-24 17:06:58 +0100
committerVolker Krause <vkrause@kde.org>2012-11-24 17:06:58 +0100
commit70b1cfa7a7ef7f7c6068b49564ef13acf1c8e54e (patch)
tree1010e6db62e420b16736ce0a995ced8ee44db75a /find-modules/FindQt5Transitional.cmake
parent9d8174f0777647285c72e0c4da2a75ac9a58e750 (diff)
downloadextra-cmake-modules-70b1cfa7a7ef7f7c6068b49564ef13acf1c8e54e.tar.gz
extra-cmake-modules-70b1cfa7a7ef7f7c6068b49564ef13acf1c8e54e.tar.bz2
Explicitly specify the minimum required Qt version here.
This prevents a subsequent find_package(Qt4) call (e.g. contained inside FindKDE4Internal.cmake) from failing with incomplete version information.
Diffstat (limited to 'find-modules/FindQt5Transitional.cmake')
-rw-r--r--find-modules/FindQt5Transitional.cmake2
1 files changed, 1 insertions, 1 deletions
diff --git a/find-modules/FindQt5Transitional.cmake b/find-modules/FindQt5Transitional.cmake
index 1a707e73..9d20a8fe 100644
--- a/find-modules/FindQt5Transitional.cmake
+++ b/find-modules/FindQt5Transitional.cmake
@@ -54,7 +54,7 @@ else()
endif()
list(APPEND _components Qt${_component})
endforeach()
- find_package(Qt4 REQUIRED ${_components})
+ find_package(Qt4 ${QT_MIN_VERSION} REQUIRED ${_components})
include_directories(${QT_INCLUDES})
# if we are not called from a build of a complete kdelibs, which contains libinqt5,