Maybe workaround buggy cmake module
This commit is contained in:
parent
4e4401a9e2
commit
382a382c70
1 changed files with 1 additions and 1 deletions
|
@ -77,7 +77,7 @@ IF(Qt5Widgets_FOUND)
|
|||
MESSAGE(STATUS "Found Qt ${Qt5Widgets_VERSION_STRING}")
|
||||
ELSE()
|
||||
FIND_PACKAGE(Qt4 4.8.0 REQUIRED)
|
||||
IF(Qt4_FOUND)
|
||||
IF(Qt4_FOUND OR QT4_FOUND)
|
||||
MESSAGE(STATUS "Found Qt ${QT_VERSION_MAJOR}.${QT_VERSION_MINOR}.${QT_VERSION_PATCH}")
|
||||
ELSE()
|
||||
MESSAGE(FATAL_ERROR "No Qt4 or Qt5 found!")
|
||||
|
|
Loading…
Reference in a new issue