From ee98c2b095b991901b6c2125b2428985c873b4bd Mon Sep 17 00:00:00 2001 From: Otavio Salvador Date: Sun, 8 May 2011 17:45:39 +0000 Subject: cmake.bbclass: fix qmake and rpath issues Sync with OE at 3b7d83362027fde4f6850533ab83277d95dda961 however without changing the way of generating the toolchain file and making it branding agnostic. Signed-off-by: Otavio Salvador --- meta/classes/cmake.bbclass | 14 ++++++++++++-- meta/classes/native.bbclass | 4 ++++ 2 files changed, 16 insertions(+), 2 deletions(-) (limited to 'meta/classes') diff --git a/meta/classes/cmake.bbclass b/meta/classes/cmake.bbclass index a4b0c126a2..011c2324c8 100644 --- a/meta/classes/cmake.bbclass +++ b/meta/classes/cmake.bbclass @@ -24,15 +24,18 @@ OECMAKE_CXX_FLAGS ?= "${HOST_CC_ARCH} ${TOOLCHAIN_OPTIONS} ${TARGET_CPPFLAGS} -f OECMAKE_C_FLAGS_RELEASE ?= "${SELECTED_OPTIMIZATION} -DNDEBUG" OECMAKE_CXX_FLAGS_RELEASE ?= "${SELECTED_OPTIMIZATION} -DNDEBUG" +OECMAKE_RPATH ?= "" + cmake_do_generate_toolchain_file() { cat > ${WORKDIR}/toolchain.cmake <