Fix Linux build of caf unit tests

This commit is contained in:
Gaute Lindkvist
2018-12-03 15:00:25 +01:00
parent 8cd2d37b92
commit b06097862f
3 changed files with 7 additions and 8 deletions

View File

@@ -6,7 +6,7 @@ find_package(Qt5Core CONFIG QUIET)
if (Qt5Core_FOUND)
find_package(Qt5 CONFIG REQUIRED Core Gui Widgets)
else()
find_package(Qt4 COMPONENTS QtCore QtGui QtMain REQUIRED)
find_package(Qt4 COMPONENTS QtCore QtGui REQUIRED)
include(${QT_USE_FILE})
endif(Qt5Core_FOUND)