changeset 254:cb8d7af5ec3a

Include commmon in UI build to avoid having paths in include directives
author Andre Heinecke <aheinecke@intevation.de>
date Tue, 01 Apr 2014 10:51:05 +0000
parents 3595ea4fd3fb
children c82dab1824be
files ui/CMakeLists.txt ui/certificatelist.h
diffstat 2 files changed, 2 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/ui/CMakeLists.txt	Tue Apr 01 10:50:21 2014 +0000
+++ b/ui/CMakeLists.txt	Tue Apr 01 10:51:05 2014 +0000
@@ -1,5 +1,6 @@
 include_directories(${Qt5Widgets_INCLUDE_DIRS})
 include_directories(${POLARSSL_INCLUDE_DIR})
+include_directories(${CMAKE_CURRENT_SOURCE_DIR}/../common)
 add_definitions(${Qt5Widgets_DEFINITIONS})
 
 set(CERTIFICATELIST_SOURCES
--- a/ui/certificatelist.h	Tue Apr 01 10:50:21 2014 +0000
+++ b/ui/certificatelist.h	Tue Apr 01 10:51:05 2014 +0000
@@ -18,7 +18,7 @@
 #include <QDateTime>
 #include <QObject>
 
-#include "../common/listutil.h"
+#include "listutil.h"
 #include "certificate.h"
 
 class CertificateList

http://wald.intevation.org/projects/trustbridge/