Add xwayland support 55/18655/1
authorJean-Benoit MARTIN <jean-benoit.martin@open.eurogiciel.org>
Thu, 27 Mar 2014 13:26:03 +0000 (14:26 +0100)
committerKévin THIERRY <kevin.thierry@open.eurogiciel.org>
Thu, 27 Mar 2014 13:53:21 +0000 (14:53 +0100)
Fix build when X11 and wayland are available

Change-Id: I3ce38ccb9f150b4ec95f25c2e68b8973fa86807a
Signed-off-by: Jean-Benoit MARTIN <jean-benoit.martin@open.eurogiciel.org>
CMakeLists.txt

index 1970779..91ef82e 100755 (executable)
@@ -11,16 +11,16 @@ SET(INC_DIR include)
 INCLUDE_DIRECTORIES(${INC_DIR})
 
 IF(X11_SUPPORT)
-SET(ecore "ecore ecore-x")
+SET(WIN_PKG "ecore-x")
 ENDIF(X11_SUPPORT)
 
 IF(WAYLAND_SUPPORT)
-SET(ecore "ecore ecore-wayland")
+SET(WIN_PKG "${WIN_PKG} ecore-wayland")
 ENDIF(WAYLAND_SUPPORT)
 
 SET(requires
   dlog vconf
-  elementary ${ecore} ecore-file appcore-efl
+  elementary ecore ${WIN_PKG} ecore-file appcore-efl
   capi-base-common
   glib-2.0 gobject-2.0 fontconfig libxml-2.0
 )