[Tizen] Fix build error for pepper-dali 27/169227/1 accepted/tizen/unified/20180206.064159 submit/tizen/20180205.100518
authorSeoyeon Kim <seoyeon2.kim@samsung.com>
Mon, 5 Feb 2018 05:02:09 +0000 (14:02 +0900)
committerSeoyeon Kim <seoyeon2.kim@samsung.com>
Mon, 5 Feb 2018 05:32:45 +0000 (14:32 +0900)
- When doing gbs build on other dali packages, they can't find 'egl-interface.h'
  because dali-adaptor directory of gbs build result is totally different
  from the directory of dali-adaptor itself.

Change-Id: Id9c7764a5c145873758d208876813d3fea00686a
Signed-off-by: Seoyeon Kim <seoyeon2.kim@samsung.com>
dali/integration-api/wayland/ecore-wl-render-surface.h

index d814e0b..a480cff 100644 (file)
 
 // INTERNAL INCLUDES
 #include <dali/devel-api/adaptor-framework/render-surface.h>
+#ifdef DALI_ADAPTOR_COMPILATION  // full path doesn't exist until adaptor is installed so we have to use relative
 #include <dali/integration-api/egl-interface.h>
+#else
+#include <dali/integration-api/adaptors/egl-interface.h>
+#endif
 
 namespace Dali
 {