From fa2e52c810c8dabc38103e2fcc1bd75ce409d719 Mon Sep 17 00:00:00 2001 From: Dominik Schmidt Date: Wed, 22 May 2013 16:57:59 +0200 Subject: [PATCH] hack until Qt5: Make external modules/projects automatically act as gui modules/projects --- TomahawkUse.cmake | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/TomahawkUse.cmake b/TomahawkUse.cmake index 503ba8d7d..0d59a9f9d 100644 --- a/TomahawkUse.cmake +++ b/TomahawkUse.cmake @@ -4,7 +4,7 @@ find_package(Qt4 COMPONENTS QtNetwork QtCore QtGui QtSql REQUIRED) include( ${QT_USE_FILE} ) set(NEEDED_QT4_COMPONENTS "QtCore" "QtXml" "QtNetwork") -if(BUILD_GUI) +if(BUILD_GUI OR NOT DEFINED BUILD_GUI) list(APPEND NEEDED_QT4_COMPONENTS "QtGui" "QtWebkit" "QtUiTools" "QtSvg") endif()