summaryrefslogtreecommitdiff
path: root/platform/qt/qt.cmake
diff options
context:
space:
mode:
Diffstat (limited to 'platform/qt/qt.cmake')
-rw-r--r--platform/qt/qt.cmake5
1 files changed, 5 insertions, 0 deletions
diff --git a/platform/qt/qt.cmake b/platform/qt/qt.cmake
index c2cebd7964..eb64e0f288 100644
--- a/platform/qt/qt.cmake
+++ b/platform/qt/qt.cmake
@@ -1,6 +1,11 @@
# This file is to be reused by target platforms that don't
# support `mason` (i.e. Yocto). Do not add any `mason` macro.
+if (CMAKE_VERSION VERSION_EQUAL "3.6.0")
+ # CMake 3.6.0 is buggy: https://gitlab.kitware.com/cmake/cmake/issues/16209
+ message(FATAL_ERROR "CMake 3.6.0 is not supported due to a bug in automoc name generation. Please upgrade or downgrade.")
+endif()
+
option(WITH_QT_DECODERS "Use builtin Qt image decoders" OFF)
option(WITH_QT_4 "Use Qt4 instead of Qt5" OFF)