[oe] [PATCH 05/14] cmake.bbclass: use 2.8 modules

Phil Blundell philb at gnu.org
Wed Feb 23 13:41:51 UTC 2011


On Wed, 2011-02-23 at 13:07 +0000, Otavio Salvador wrote:
> -  echo "set( CMAKE_MODULE_PATH ${STAGING_DIR_NATIVE}/usr/share/cmake-2.6/Modules/ )" >> ${WORKDIR}/toolchain.cmake
> +  echo "set( CMAKE_MODULE_PATH ${STAGING_DIR_NATIVE}/usr/share/cmake-2.8/Modules/ )" >> ${WORKDIR}/toolchain.cmake

This seems a bit fragile (and, presumably, is bad news for anybody who
is still using cmake 2.6 for any reason).  Isn't there any way to
automatically select the version that matches
${STAGING_BINDIR_NATIVE}/cmake or whatever?

p.






More information about the Openembedded-devel mailing list