git-svn-id: https://navit.svn.sourceforge.net/svnroot/navit/trunk@4819
ffa7fe5e-494d-0410-b361-
a75ebd5db220
find_package(Threads)
libfind_pkg_check_modules(FONTCONFIG fontconfig)
#Qt detection
-SET(QT_USE_QTSVG TRUE)
-SET(QT_USE_QTXML TRUE)
-SET(QT_USE_QTDECLARATIVE TRUE)
-find_package(Qt4 COMPONENTS QtCore QtGui QtXml QtDeclarative QtSvg OPTIONAL)
+if (NOT DISABLE_QT)
+ SET(QT_USE_QTSVG TRUE)
+ SET(QT_USE_QTXML TRUE)
+ SET(QT_USE_QTDECLARATIVE TRUE)
+ find_package(Qt4 COMPONENTS QtCore QtGui QtXml QtDeclarative QtSvg OPTIONAL)
+endif (NOT DISABLE_QT)
#pkg-config based detection
find_package(PkgConfig)
if(PKG_CONFIG_FOUND)