mirror of
https://github.com/Cockatrice/Cockatrice.git
synced 2026-08-28 11:45:22 -05:00
When compiling with qt5, require at least version 5.0.3
This commit is contained in:
@@ -107,7 +107,8 @@ OPTION(UPDATE_TRANSLATIONS "Update translations on compile" OFF)
|
||||
MESSAGE("UPDATE TRANSLATIONS: ${UPDATE_TRANSLATIONS}")
|
||||
|
||||
IF(NOT WITH_QT4)
|
||||
FIND_PACKAGE(Qt5Widgets)
|
||||
# First known not-broken Qt5 version (5.0.2 available on old ubuntus is buggy).
|
||||
FIND_PACKAGE(Qt5Widgets 5.0.3)
|
||||
ENDIF()
|
||||
|
||||
IF(Qt5Widgets_FOUND)
|
||||
|
||||
Reference in New Issue
Block a user