mirror of
https://github.com/Nheko-Reborn/nheko.git
synced 2024-11-22 11:00:48 +03:00
Explicitly define 5.7 as the minimum required Qt version
This commit is contained in:
parent
0f72808858
commit
04ef88bbbb
1 changed files with 7 additions and 0 deletions
|
@ -8,6 +8,13 @@ find_package(Qt5Widgets REQUIRED)
|
|||
find_package(Qt5Network REQUIRED)
|
||||
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!")
|
||||
endif()
|
||||
endif(Qt5Widgets_FOUND)
|
||||
|
||||
set(CMAKE_C_COMPILER gcc)
|
||||
|
||||
set(CMAKE_CXX_STANDARD 11)
|
||||
|
|
Loading…
Reference in a new issue