diff options
author | Yu Ke <ke.yu@intel.com> | 2011-07-13 16:57:39 +0800 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2011-07-13 12:14:04 +0100 |
commit | f4de87ce30a37bb2f09855d442b34d153ada8c0e (patch) | |
tree | d7a2ee204fdff48f24ebebe57b3e16e0ba8cb202 /meta/conf/layer.conf | |
parent | 585e46e089e8863c8970a9c7c02159805e3e479a (diff) | |
download | openembedded-core-f4de87ce30a37bb2f09855d442b34d153ada8c0e.tar.gz openembedded-core-f4de87ce30a37bb2f09855d442b34d153ada8c0e.tar.bz2 openembedded-core-f4de87ce30a37bb2f09855d442b34d153ada8c0e.tar.xz openembedded-core-f4de87ce30a37bb2f09855d442b34d153ada8c0e.zip |
sat-solver: fix for non /usr/lib libdir case
when libdir set to non /usr/lib like /usr/lib64, there is do_configure error:
"
-- Libraries will be installed in /usr/lib
CMake Error at /home/kyu3/sdb/lib64/tmp/sysroots/x86_64-linux/usr/share/cmake-2.8/Modules/FindPackageHandleStandardArgs.cmake:91 (MESSAGE):
Please install 'check' and 'check-devel' packages (missing: CHECK_LIBRARY)
Call Stack (most recent call first):
/home/kyu3/sdb/lib64/tmp/sysroots/x86_64-linux/usr/share/cmake-2.8/Modules/FindPackageHandleStandardArgs.cmake:252 (_FPHSA_FAILURE_MESSAGE)
cmake/modules/FindCheck.cmake:17 (FIND_PACKAGE_HANDLE_STANDARD_ARGS)
CMakeLists.txt:35 (FIND_PACKAGE)
-- Configuring incomplete, errors occurred!
"
The reason is that cmake did not search /usr/lib64 for libcheck, thus report error
add ${libdir} to the CMAKE_SYSTEM_LIBRARY_PATH can fix this issue.
Signed-off-by: Yu Ke <ke.yu@intel.com>
Diffstat (limited to 'meta/conf/layer.conf')
0 files changed, 0 insertions, 0 deletions