]> code.ossystems Code Review - openembedded-core.git/commit
cmake: only search root directory for FIND_***
authorKevin Tian <kevin.tian@intel.com>
Mon, 26 Jul 2010 05:14:13 +0000 (13:14 +0800)
committerRichard Purdie <rpurdie@linux.intel.com>
Wed, 28 Jul 2010 05:51:34 +0000 (22:51 -0700)
commitea3cfbaf265797950e5eb41f5b886861c880597c
tree306fcd8206b2c34a1015317f2a9d28628bcc97a9
parent106de1f41cae0160de8cb060ea18d581403b3d08
cmake: only search root directory for FIND_***

default cmake behavior for FIND_***, is to first search listed directories prefixed
with CMAKE_FIND_ROOT_PATH, and if not found then go to unprefixed directories. This
is not desired as build system may be referenced.

this commit refine the search path only on prefixed directories, and thus fix
libmusicbrains build failure on some systems

Signed-off-by: Kevin Tian <kevin.tian@intel.com>
meta/classes/cmake.bbclass