Show a warning for Qt < 5.7

pull/1/head
Konstantinos Sideris 8 years ago
parent 04ef88bbbb
commit 83cdd79e08
  1. 2
      CMakeLists.txt

@ -11,7 +11,7 @@ find_package(Qt5LinguistTools REQUIRED)
if (Qt5Widgets_FOUND)
if (Qt5Widgets_VERSION VERSION_LESS 5.7.0)
message(STATUS "Qt version ${Qt5Widgets_VERSION}")
message(FATAL_ERROR "Minimum supported Qt5 version is 5.7!")
message(WARNING "Minimum supported Qt5 version is 5.7!")
endif()
endif(Qt5Widgets_FOUND)

Loading…
Cancel
Save