summaryrefslogtreecommitdiffstats
path: root/src/corelib/Qt5Config.cmake.in
diff options
context:
space:
mode:
authorKevin Funk <kevin.funk@kdab.com>2017-09-29 21:45:37 +0200
committerKevin Funk <kevin.funk@kdab.com>2018-03-24 22:31:18 +0000
commit02ed1b36daebed5f3997bb676cf5e818c0db9d3c (patch)
tree984972e1d442676e7bbd1872a3a9399715372fc4 /src/corelib/Qt5Config.cmake.in
parent927db42882569a23a004722598ff02f57391c361 (diff)
Remove CMake code for CMake < 3.1
This removes the following functions from Qt5CoreMacros: - qt5_use_modules(...) Task-number: QTBUG-63519 Change-Id: I59769060a3a93686bf319b558c0ede55755fdb70 Reviewed-by: David Faure <david.faure@kdab.com>
Diffstat (limited to 'src/corelib/Qt5Config.cmake.in')
-rw-r--r--src/corelib/Qt5Config.cmake.in4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/corelib/Qt5Config.cmake.in b/src/corelib/Qt5Config.cmake.in
index 75b53485b7..6b6544f932 100644
--- a/src/corelib/Qt5Config.cmake.in
+++ b/src/corelib/Qt5Config.cmake.in
@@ -1,6 +1,6 @@
-if (CMAKE_VERSION VERSION_LESS 2.8.9)
- message(FATAL_ERROR \"Qt5 requires at least CMake version 2.8.9\")
+if (CMAKE_VERSION VERSION_LESS 3.1.0)
+ message(FATAL_ERROR \"Qt5 requires at least CMake version 3.1.0\")
endif()
if (NOT Qt5_FIND_COMPONENTS)