CMake fixes to cafTestApp

This commit is contained in:
Gaute Lindkvist
2018-12-05 14:26:43 +01:00
parent 1bab754b26
commit 2ed41d3158

View File

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