Properly check that Qt4 4.8+ was found

This commit is contained in:
Chris Robinson 2013-06-24 17:40:41 -07:00
parent 5c7680ec84
commit d984cec3a1

View File

@ -4,7 +4,7 @@ include_directories("${alsoft-config_BINARY_DIR}")
# Need Qt 4.8.0 or newer for the iconset theme attribute to work
find_package(Qt4 4.8.0 COMPONENTS QtCore QtGui)
if(QT_QTCORE_FOUND AND QT_QTGUI_FOUND)
if(QT4_FOUND)
include(${QT_USE_FILE})
set(alsoft-config_SRCS main.cpp