mirror of
https://github.com/thead-yocto-mirror/meta-openembedded
synced 2026-09-16 20:21:58 +02:00
Updated FindLinunwind cmake file to locate libunwind properly in the system. This includes settings all needed defines in config.h file, which are used for glog compilation. Changed unwind cmake target to interface, because in cross-compilation environment we could link against several libunwind shared libraries. Signed-off-by: Vyacheslav Yurkov <Vyacheslav.Yurkov@bruker.com> Signed-off-by: Khem Raj <raj.khem@gmail.com>
26 lines
679 B
BlitzBasic
26 lines
679 B
BlitzBasic
DESCRIPTION = "The glog library implements application-level logging. This \
|
|
library provides logging APIs based on C++-style streams and various helper \
|
|
macros."
|
|
HOMEPAGE = "https://github.com/google/glog"
|
|
|
|
LICENSE = "BSD-3-Clause"
|
|
LIC_FILES_CHKSUM = "file://COPYING;md5=dc9db360e0bbd4e46672f3fd91dd6c4b"
|
|
|
|
DEPENDS = "libunwind"
|
|
|
|
SRC_URI = " \
|
|
git://github.com/google/glog.git;branch=v035 \
|
|
file://0001-Rework-CMake-glog-VERSION-management.patch \
|
|
file://0002-Find-Libunwind-during-configure.patch \
|
|
"
|
|
|
|
SRCREV = "a6a166db069520dbbd653c97c2e5b12e08a8bb26"
|
|
|
|
S = "${WORKDIR}/git"
|
|
|
|
inherit cmake
|
|
|
|
RDEPENDS_${PN} += "libunwind"
|
|
|
|
EXTRA_OECMAKE += "-DBUILD_SHARED_LIBS=ON"
|