CMakeLists.txt

changeset 1311
8d22e1dd272d
parent 1310
e5c1320e1018
child 1315
23d48a709ffc
--- a/CMakeLists.txt	Fri Mar 23 17:13:35 2018 +0200
+++ b/CMakeLists.txt	Fri Mar 23 17:14:46 2018 +0200
@@ -15,6 +15,10 @@
 find_package (Qt5OpenGL REQUIRED)
 find_package (Qt5Network REQUIRED)
 
+if (Qt5Widgets_VERSION VERSION_LESS 5.5.0)
+	message(FATAL_ERROR "Qt5 version 5.5 required")
+endif()
+
 set (CMAKE_AUTOMOC ON)
 
 find_package (OpenGL REQUIRED)

mercurial