Commit 98148ac7 authored by Matthias Möller's avatar Matthias Möller
Browse files

qt4 fallback if qt5 was not found

git-svn-id: http://www.openflipper.org/svnrepo/OpenFlipper/branches/Free@19514 383ad7c9-94d9-4d36-a494-682f7c89f535
parent 8084b305
...@@ -28,8 +28,9 @@ ENDIF(Qwt5_Qt4_LIBRARY OR Qwt5_Qt3_LIBRARY AND Qwt5_INCLUDE_DIR) ...@@ -28,8 +28,9 @@ ENDIF(Qwt5_Qt4_LIBRARY OR Qwt5_Qt3_LIBRARY AND Qwt5_INCLUDE_DIR)
IF(NOT QT5_FOUND AND NOT FORCE_QT4 AND NOT QT4_FOUND) IF(NOT QT5_FOUND AND NOT FORCE_QT4 AND NOT QT4_FOUND)
IF (NOT FORCE_QT4) IF (NOT FORCE_QT4)
FIND_PACKAGE( Qt5Widgets REQUIRED QUIET ) FIND_PACKAGE( Qt5Widgets REQUIRED QUIET )
ELSE() endif()
FIND_PACKAGE( Qt4 REQUIRED QUIET ) if(NOT QT5_FOUND)
FIND_PACKAGE( Qt4 REQUIRED QUIET )
ENDIF() ENDIF()
ENDIF() ENDIF()
......
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