Commit 8084b305 authored by Matthias Möller's avatar Matthias Möller
Browse files

remove redundant qt5 search if qt4 was found

git-svn-id: http://www.openflipper.org/svnrepo/OpenFlipper/branches/Free@19513 383ad7c9-94d9-4d36-a494-682f7c89f535
parent d4261c3f
if(BUILD_TESTING)
if ( NOT QT5_FOUND AND NOT FORCE_QT4)
find_package(Qt5Core)
elseif ( NOT QT5_FOUND AND NOT QT4_FOUND)
find_package (Qt4 COMPONENTS QtCore )
IF(NOT QT5_FOUND AND NOT FORCE_QT4 AND NOT QT4_FOUND)
IF (NOT FORCE_QT4)
FIND_PACKAGE( Qt5Widgets REQUIRED QUIET )
endif()
if(NOT QT5_FOUND)
FIND_PACKAGE( Qt4 REQUIRED QUIET )
ENDIF()
ENDIF()
add_executable (compareTool compareTool.cc )
......
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