It is required for the header tizen.h and enums such as TIZEN_ERROR_*
defined at the header. Those are accessible by the dependency to the
capi-base-common, which is currently pulled in by the dlog. However,
some build environment lack of such indirect dependency would blame
this. Therefore explicitly state the dependency.
Change-Id: I215b2eb2b16bbb931e7565d0d1adb436a425a6d0
Signed-off-by: Youngjae Cho <y0.cho@samsung.com>
BuildRequires: pkgconfig(libxml-2.0)
BuildRequires: pkgconfig(gmock)
BuildRequires: pkgconfig(systemd)
+BuildRequires: pkgconfig(capi-base-common)
%description
%{name} interface
)
INCLUDE(FindPkgConfig)
-pkg_check_modules(common-haltests_pkgs REQUIRED gmock)
+pkg_check_modules(common-haltests_pkgs REQUIRED gmock capi-base-common)
FOREACH(flag ${common-haltests_pkgs_CFLAGS})
SET(EXTRA_CFLAGS "${EXTRA_CFLAGS} ${flag}")
)
INCLUDE(FindPkgConfig)
-pkg_check_modules(hal_api_common_unittest_pkgs REQUIRED gmock glib-2.0 libxml-2.0)
+pkg_check_modules(hal_api_common_unittest_pkgs REQUIRED gmock glib-2.0 libxml-2.0 capi-base-common)
FOREACH(flag ${hal_api_common_unittest_pkgs_CFLAGS})
SET(EXTRA_CFLAGS "${EXTRA_CFLAGS} ${flag}")