Fix build when X11 and wayland are available
Change-Id: I3ce38ccb9f150b4ec95f25c2e68b8973fa86807a
Signed-off-by: Jean-Benoit MARTIN <jean-benoit.martin@open.eurogiciel.org>
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
)