From 24f7755358d42e543b0740d35fc0fd5f661d157c Mon Sep 17 00:00:00 2001 From: Micke Prag Date: Thu, 2 Feb 2012 17:21:48 +0100 Subject: [PATCH] Workaround for dependencies in plugins not resolved correctly --- telldus-gui/TelldusCenter/CMakeLists.txt | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/telldus-gui/TelldusCenter/CMakeLists.txt b/telldus-gui/TelldusCenter/CMakeLists.txt index 8ec1b15b..8e55ce1b 100644 --- a/telldus-gui/TelldusCenter/CMakeLists.txt +++ b/telldus-gui/TelldusCenter/CMakeLists.txt @@ -1,7 +1,11 @@ FIND_PACKAGE( Qt4 REQUIRED ) SET(QT_USE_QTSCRIPT TRUE) SET(QT_USE_QTNETWORK TRUE) -SET(QT_USE_QTUITOOLS TRUE) +SET(QT_USE_QTUITOOLS TRUE) +IF (APPLE) + #This is a workaround for plugins that depends on libraries and will not copy these correctly + SET(QT_USE_QTDECLARATIVE TRUE) +ENDIF() INCLUDE( ${QT_USE_FILE} ) FIND_PACKAGE( SignTool REQUIRED )