Add ecore-wayland dependency explicitly 75/114275/1
authorJihoon Kim <jihoon48.kim@samsung.com>
Sun, 12 Feb 2017 23:46:34 +0000 (08:46 +0900)
committerJihoon Kim <jihoon48.kim@samsung.com>
Sun, 12 Feb 2017 23:46:34 +0000 (08:46 +0900)
Change-Id: If94cd50fb0b088cff4ce1f6081f1c4ddeef14dca
Signed-off-by: Jihoon Kim <jihoon48.kim@samsung.com>
CMakeLists.txt
packaging/libscl-ui.spec

index 5ab8a79..c815224 100644 (file)
@@ -101,6 +101,7 @@ SET(PKGS_CHECK_MODULES
 
 IF (with_wayland)
         ADD_DEFINITIONS("-DWAYLAND")
+        SET(PKGS_CHECK_MODULES ${PKGS_CHECK_MODULES} ecore-wayland)
 ENDIF(with_wayland)
 
 pkg_check_modules(pkgs REQUIRED ${PKGS_CHECK_MODULES})
index c267729..76d1ba2 100644 (file)
@@ -11,6 +11,7 @@ Source0:    %{name}-%{version}.tar.gz
 BuildRequires:  cmake
 BuildRequires:  pkgconfig(elementary)
 %if %{with wayland}
+BuildRequires:  pkgconfig(ecore-wayland)
 %else
 BuildRequires:  pkgconfig(ecore-x)
 BuildRequires:  pkgconfig(x11)