Skip to content

Commit

Permalink
CMake: enforce the use of Qt 5.9.2 LTS.
Browse files Browse the repository at this point in the history
  • Loading branch information
agarny committed Nov 3, 2017
1 parent f5750ed commit a2e638f
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions CMakeLists.txt
Expand Up @@ -116,8 +116,8 @@ FIND_PACKAGE(Qt5Core REQUIRED)
SET(QT_VERSION ${Qt5Core_VERSION})
SET(QT_VERSION_MAJOR ${Qt5Core_VERSION_MAJOR})

IF(QT_VERSION VERSION_LESS "5.9")
MESSAGE(FATAL_ERROR "${CMAKE_PROJECT_NAME} can only be built using Qt 5.9.x LTS and later...")
IF(NOT QT_VERSION VERSION_EQUAL "5.9.2")
MESSAGE(FATAL_ERROR "${CMAKE_PROJECT_NAME} can only be built using Qt 5.9.2...")
ENDIF()

SET(QT_DIR ${_qt5Core_install_prefix})
Expand Down

0 comments on commit a2e638f

Please sign in to comment.