Commit 382a382c authored by Fabio Bas's avatar Fabio Bas
Browse files

Maybe workaround buggy cmake module

parent 4e4401a9
...@@ -77,7 +77,7 @@ IF(Qt5Widgets_FOUND) ...@@ -77,7 +77,7 @@ IF(Qt5Widgets_FOUND)
MESSAGE(STATUS "Found Qt ${Qt5Widgets_VERSION_STRING}") MESSAGE(STATUS "Found Qt ${Qt5Widgets_VERSION_STRING}")
ELSE() ELSE()
FIND_PACKAGE(Qt4 4.8.0 REQUIRED) 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}") MESSAGE(STATUS "Found Qt ${QT_VERSION_MAJOR}.${QT_VERSION_MINOR}.${QT_VERSION_PATCH}")
ELSE() ELSE()
MESSAGE(FATAL_ERROR "No Qt4 or Qt5 found!") 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