Commit 5c449cfe authored by Matthias Möller's avatar Matthias Möller

suppress qt4 warnings if qt4 was not found

git-svn-id: http://www.openflipper.org/svnrepo/CoMISo/trunk@292 1355f012-dd97-4b2f-ae87-10fa9f823a57
parent 2fe9945d
......@@ -202,21 +202,25 @@ macro (acg_qt4)
find_package (Qt4 COMPONENTS QtCore QtGui )
set (QT_USE_QTOPENGL 1)
set (QT_USE_QTNETWORK 1)
set (QT_USE_QTSCRIPT 1)
set (QT_USE_QTSQL 1)
set (QT_USE_QTXML 1)
set (QT_USE_QTXMLPATTERNS 1)
set (QT_USE_QTHELP 1)
set (QT_USE_QTWEBKIT 1)
set (QT_USE_QTUITOOLS 1)
if (QT_QTSCRIPTTOOLS_FOUND)
set (QT_USE_QTSCRIPTTOOLS 1)
if (QT4_FOUND)
set (QT_USE_QTOPENGL 1)
set (QT_USE_QTNETWORK 1)
set (QT_USE_QTSCRIPT 1)
set (QT_USE_QTSQL 1)
set (QT_USE_QTXML 1)
set (QT_USE_QTXMLPATTERNS 1)
set (QT_USE_QTHELP 1)
set (QT_USE_QTWEBKIT 1)
set (QT_USE_QTUITOOLS 1)
if (QT_QTSCRIPTTOOLS_FOUND)
set (QT_USE_QTSCRIPTTOOLS 1)
endif()
include (${QT_USE_FILE})
else(QT4_FOUND)
message(STATUS "Qt4 not found!")
endif()
include (${QT_USE_FILE})
endif ()
endmacro ()
......
Markdown is supported
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