summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMiklos Vajna <vmiklos@collabora.co.uk>2016-04-07 08:43:14 +0200
committerAshod Nakashian <ashnakash@gmail.com>2016-05-07 19:58:53 +0000
commit2c0e7371e5c353d803d87b96328ea92f2c6a3216 (patch)
treeb189591c88ea0337a17ebb73e8499f4f7f8111fd
parentabe370afab1d92debbf38d485906d372235a248f (diff)
CppunitTest_desktop_lib: avoid #include "../..." style include
Change-Id: Ib5ce0dee00c9306f89ad4b43af4b34e604147a1c (cherry picked from commit 04216006ee038232067bcf74d67b14e8918063f2) Reviewed-on: https://gerrit.libreoffice.org/24728 Reviewed-by: Ashod Nakashian <ashnakash@gmail.com> Tested-by: Ashod Nakashian <ashnakash@gmail.com>
-rw-r--r--desktop/CppunitTest_desktop_lib.mk5
-rw-r--r--desktop/qa/desktop_lib/test_desktop_lib.cxx2
2 files changed, 6 insertions, 1 deletions
diff --git a/desktop/CppunitTest_desktop_lib.mk b/desktop/CppunitTest_desktop_lib.mk
index bbedfdc8348e..b6226fac7568 100644
--- a/desktop/CppunitTest_desktop_lib.mk
+++ b/desktop/CppunitTest_desktop_lib.mk
@@ -33,6 +33,11 @@ $(eval $(call gb_CppunitTest_use_libraries,desktop_lib, \
$(eval $(call gb_CppunitTest_use_external,desktop_lib,boost_headers))
+$(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 a7d07afbca0c..bd370943daca 100644
--- a/desktop/qa/desktop_lib/test_desktop_lib.cxx
+++ b/desktop/qa/desktop_lib/test_desktop_lib.cxx
@@ -38,7 +38,7 @@
#include <unotools/tempfile.hxx>
#include <vcl/svapp.hxx>
-#include "../../inc/lib/init.hxx"
+#include <lib/init.hxx>
using namespace com::sun::star;
using namespace desktop;