yaml-cpp: add PN-gtest package

* fixes:
-dev package contains non-symlink .so: yaml-cpp-dev path '/work/core2-64-oe-linux/yaml-cpp/0.6.2+gitAUTOINC+ab5f9259a4-r0/packages-split/yaml-cpp-dev/usr/lib/libgmock_main.so'
-dev package contains non-symlink .so: yaml-cpp-dev path
'/work/aarch64-oe-linux/yaml-cpp/0.6.2+gitAUTOINC+ab5f9259a4-r0/packages-split/yaml-cpp-dev/usr/lib/libgmock.so'
[dev-elf]
-dev package contains non-symlink .so: yaml-cpp-dev path '/work/core2-64-oe-linux/yaml-cpp/0.6.2+gitAUTOINC+ab5f9259a4-r0/packages-split/yaml-cpp-dev/usr/lib/libgtest_main.so'
-dev package contains non-symlink .so: yaml-cpp-dev path '/work/core2-64-oe-linux/yaml-cpp/0.6.2+gitAUTOINC+ab5f9259a4-r0/packages-split/yaml-cpp-dev/usr/lib/libgtest.so' [dev-elf]

Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
This commit is contained in:
Martin Jansa 2018-05-12 17:12:21 +00:00
parent 7e4a616ec4
commit 1b08af3ea7
1 changed files with 8 additions and 0 deletions

View File

@ -15,3 +15,11 @@ SRCREV = "562aefc114938e388457e6a531ed7b54d9dc1b62"
EXTRA_OECMAKE = "-DBUILD_SHARED_LIBS=ON -DYAML_CPP_BUILD_TESTS=OFF"
inherit cmake
PACKAGES =+ "${PN}-gtest"
FILES_${PN}-gtest += " \
${libdir}/libgmock_main.so \
${libdir}/libgtest_main.so \
${libdir}/libgtest.so \
${libdir}/libgmock.so \
"