]> code.ossystems Code Review - openembedded-core.git/commit
assimp: fix search library failed on multilib
authorHongxu Jia <hongxu.jia@windriver.com>
Fri, 13 Dec 2019 06:28:58 +0000 (14:28 +0800)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Sat, 28 Dec 2019 23:25:34 +0000 (23:25 +0000)
commit2f37056cc6380a6dbc6e43152d2c7a4846526904
tree15612db62b2565e476dc648afdf2b6207082ae12
parent89e96f0efb0f7f9448377a17e37caeb0824dabc8
assimp: fix search library failed on multilib

While multilib enabled, it builds vulkan-demos failed
...
|CMake Error at tmp-glibc/work/aarch64-wrs-linux/vulkan-demos/git-r0/
recipe-sysroot/usr/lib64/cmake/assimp-5.0/assimpTargets.cmake:85 (message):
|  The imported target "assimp::assimp" references the file
|     "tmp-glibc/work/aarch64-wrs-linux/vulkan-demos/git-r0/recipe-sysroot/usr/lib/libassimp.so.5"
|  but this file does not exist.  Possible reasons include:
...

Since oe-core set ASSIMP_LIB_INSTALL_DIR to baselib, use it rather than
hardcoded `/lib' to search library

Signed-off-by: Hongxu Jia <hongxu.jia@windriver.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
meta/recipes-graphics/vulkan/assimp/0001-Use-ASSIMP_LIB_INSTALL_DIR-to-search-library.patch [new file with mode: 0644]
meta/recipes-graphics/vulkan/assimp_5.0.0.bb