Update recipes
[scm/bb/meta-tizen.git] / recipes-tizen / libsf-common / libsf-common.inc
index 4809592..c6f5260 100644 (file)
@@ -26,10 +26,10 @@ RDEPENDS_${PN}-dev += "libsf-common"
 
 DEPENDS = ""
 #DEPENDS of libsf-common
-DEPENDS_append_class-native = " cmake-native"
-DEPENDS_append_class-target = " cmake-native"
+inherit tizen_cmake
 DEPENDS += "attr"
 DEPENDS += "dlog"
+inherit pkgconfig
 
 do_prep() {
  cd ${S}
@@ -64,6 +64,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} .
  
  make -j16