mirror of
git://git.openembedded.org/meta-openembedded
synced 2026-01-01 13:58:06 +00:00
open62541: fix qa error with encryption-openssl PACKAGECONFIG
In case "encryption-openssl" PACKAGECONFIG is enabled, do_package_qa fails: ERROR: open62541-1.3.8-r0 do_package_qa: QA Issue: File /usr/lib/cmake/open62541/open62541Targets.cmake in package open62541-dev contains reference to TMPDIR [buildpaths] Fix it by changing the value of RECIPE_SYSROOT to CMAKE_SYSROOT variable, so the qa check passes, and other CMake projects should be still able to find the CMake package provided by this recipe. Signed-off-by: Gyorgy Sarvari <skandigraun@gmail.com> Signed-off-by: Khem Raj <raj.khem@gmail.com>
This commit is contained in:
parent
6a8d205e5c
commit
b5184644d4
|
|
@ -51,3 +51,6 @@ do_configure:prepend:toolchain-clang:riscv32() {
|
|||
sed -i -e 's/set(CMAKE_INTERPROCEDURAL_OPTIMIZATION ON)/set(CMAKE_INTERPROCEDURAL_OPTIMIZATION OFF)/' ${S}/CMakeLists.txt
|
||||
}
|
||||
|
||||
do_install:append(){
|
||||
sed -i 's|${RECIPE_SYSROOT}|\$\{CMAKE_SYSROOT\}|g' ${D}${libdir}/cmake/open62541/open62541Targets.cmake
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user