summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJonathan Riddell <jr@jriddell.org>2016-09-26 12:58:50 (GMT)
committerJonathan Riddell <jr@jriddell.org>2016-09-26 12:58:50 (GMT)
commit89281b19aa0caebbf80fb6ff04cd9f26a9e90cae (patch)
tree8b3329318afa35e7eebc65a22e61106454f8d448
parent29dbb15a3964303264c403a06ab8b0d394507170 (diff)
fix compile without appstream library
-rw-r--r--app/kipiinterface.cpp4
1 files changed, 3 insertions, 1 deletions
diff --git a/app/kipiinterface.cpp b/app/kipiinterface.cpp
index e84f75e..1ba514a 100644
--- a/app/kipiinterface.cpp
+++ b/app/kipiinterface.cpp
@@ -44,9 +44,11 @@ Foundation, Inc., 51 Franklin Street, Fifth Floor, Cambridge, MA 02110-1301, USA
#include <kipi/pluginloader.h>
//#include <kipi/version.h>
-//Appstream, TODO add an If installed here
+//Appstream
+#ifdef KIPI_INSTALLER
#include <AppstreamQt/database.h>
#include <AppstreamQt/component.h>
+#endif
// local
#include "mainwindow.h"