[Libreoffice-commits] core.git: desktop/CppunitTest_desktop_lib.mk desktop/qa
Miklos Vajna
vmiklos at collabora.co.uk
Thu Apr 7 06:44:11 UTC 2016
desktop/CppunitTest_desktop_lib.mk | 5 +++++
desktop/qa/desktop_lib/test_desktop_lib.cxx | 2 +-
2 files changed, 6 insertions(+), 1 deletion(-)
New commits:
commit 04216006ee038232067bcf74d67b14e8918063f2
Author: Miklos Vajna <vmiklos at collabora.co.uk>
Date: Thu Apr 7 08:43:14 2016 +0200
CppunitTest_desktop_lib: avoid #include "../..." style include
Change-Id: Ib5ce0dee00c9306f89ad4b43af4b34e604147a1c
diff --git a/desktop/CppunitTest_desktop_lib.mk b/desktop/CppunitTest_desktop_lib.mk
index c7aee9d..931b33f 100644
--- a/desktop/CppunitTest_desktop_lib.mk
+++ b/desktop/CppunitTest_desktop_lib.mk
@@ -36,6 +36,11 @@ $(eval $(call gb_CppunitTest_use_externals,desktop_lib, \
cairo \
))
+$(eval $(call gb_CppunitTest_set_include,desktop_lib,\
+ -I$(SRCDIR)/desktop/inc \
+ $$(INCLUDE) \
+))
+
$(eval $(call gb_CppunitTest_use_api,desktop_lib,\
offapi \
udkapi \
diff --git a/desktop/qa/desktop_lib/test_desktop_lib.cxx b/desktop/qa/desktop_lib/test_desktop_lib.cxx
index 51b9272..a00fde4 100644
--- a/desktop/qa/desktop_lib/test_desktop_lib.cxx
+++ b/desktop/qa/desktop_lib/test_desktop_lib.cxx
@@ -31,7 +31,7 @@
#include <unotools/tempfile.hxx>
#include <cairo.h>
-#include "../../inc/lib/init.hxx"
+#include <lib/init.hxx>
using namespace com::sun::star;
using namespace desktop;
More information about the Libreoffice-commits
mailing list