]> code.ossystems Code Review - openembedded-core.git/commit
cmake.bbclass: restore OECMAKE_SOURCEPATH
authorRoss Burton <ross.burton@intel.com>
Tue, 24 Jun 2014 20:21:32 +0000 (21:21 +0100)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Wed, 25 Jun 2014 10:49:37 +0000 (11:49 +0100)
commit2c23d7ab913a636aa0ab6a6e899cf6211d1e2714
tree3ff5a2329859e8f4fe7264edc6c741d135e22c8e
parent76f65e73081f52cea718ef164f9d1d7a5c65d537
cmake.bbclass: restore OECMAKE_SOURCEPATH

Some packages put their CMakeLists.txt file in a subdirectory, so assuming that
it is in ${S} won't work.

Restore OECMAKE_SOURCEPATH (defaulting to ${S}) so that the location of
CMakeLists.txt can be set if required.

Based on a patch by Miroslav Keš <miroslav.kes@gmail.com>

Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
meta/classes/cmake.bbclass