summaryrefslogtreecommitdiff
path: root/recipes-tizen/libprivilege-control/libprivilege-control.inc
diff options
context:
space:
mode:
Diffstat (limited to 'recipes-tizen/libprivilege-control/libprivilege-control.inc')
-rw-r--r--recipes-tizen/libprivilege-control/libprivilege-control.inc4
1 files changed, 2 insertions, 2 deletions
diff --git a/recipes-tizen/libprivilege-control/libprivilege-control.inc b/recipes-tizen/libprivilege-control/libprivilege-control.inc
index ba6da7ec..fe740bc1 100644
--- a/recipes-tizen/libprivilege-control/libprivilege-control.inc
+++ b/recipes-tizen/libprivilege-control/libprivilege-control.inc
@@ -33,8 +33,7 @@ RDEPENDS_${PN}-dev += "libprivilege-control"
DEPENDS = ""
#DEPENDS of libprivilege-control
-DEPENDS_append_class-native = " cmake-native"
-DEPENDS_append_class-target = " cmake-native"
+inherit tizen_cmake
DEPENDS += "tizen-platform-config"
DEPENDS += "dlog"
DEPENDS += "libiri"
@@ -77,6 +76,7 @@ do_compile() {
-DSHARE_INSTALL_PREFIX:PATH=${prefix}/share \
-DCMAKE_SKIP_RPATH:BOOL=ON \
-DBUILD_SHARED_LIBS:BOOL=ON \
+ -DCMAKE_TOOLCHAIN_FILE=${WORKDIR}/toolchain.cmake \
${EXTRA_OECMAKE} . -DCMAKE_BUILD_TYPE=RELEASE \
-DCMAKE_VERBOSE_MAKEFILE=ON \
-DTZ_SYS_DB=${prefix}/dbspace \