From e198b72bc03c7545417944dcb3c930aaf2376488 Mon Sep 17 00:00:00 2001 From: Yu Ke Date: Sun, 24 Jul 2011 21:40:29 +0800 Subject: cmake.bbclass: add ${libdir} for multilib case Signed-off-by: Yu Ke --- meta/classes/cmake.bbclass | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'meta/classes/cmake.bbclass') diff --git a/meta/classes/cmake.bbclass b/meta/classes/cmake.bbclass index 5ac540cfcc..89a154f73c 100644 --- a/meta/classes/cmake.bbclass +++ b/meta/classes/cmake.bbclass @@ -57,7 +57,7 @@ set( CMAKE_INSTALL_RPATH ${OECMAKE_RPATH} ) set( CMAKE_MODULE_PATH ${STAGING_DATADIR}/cmake/Modules/ ) # add for non /usr/lib libdir, e.g. /usr/lib64 -LIST(APPEND CMAKE_SYSTEM_LIBRARY_PATH ${libdir}) +set( CMAKE_LIBRARY_PATH ${libdir} ) EOF } -- cgit v1.2.3