Commit 07ed519a authored by Fabio Bas's avatar Fabio Bas
Browse files

Apply the patch in the previous commit globally

parent 382a382c
......@@ -77,7 +77,11 @@ IF(Qt5Widgets_FOUND)
MESSAGE(STATUS "Found Qt ${Qt5Widgets_VERSION_STRING}")
ELSE()
FIND_PACKAGE(Qt4 4.8.0 REQUIRED)
IF(Qt4_FOUND OR QT4_FOUND)
IF(QT4_FOUND)
# Old FindQt4.cmake modules used the same flag with different case
SET(Qt4_FOUND TRUE)
ENDIF()
IF(Qt4_FOUND)
MESSAGE(STATUS "Found Qt ${QT_VERSION_MAJOR}.${QT_VERSION_MINOR}.${QT_VERSION_PATCH}")
ELSE()
MESSAGE(FATAL_ERROR "No Qt4 or Qt5 found!")
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment