When building an application with android toolchain there is no problem, but using another toolchain that doesn't define the macro, cmake exit with en error.
The following changes since commit b8358bc61435ec996ecd6931fb6d6d41bb4f710b: bitbake: bitbake-selftest: add bb.tests.event to bitbake-selftest (2017-06-23 14:14:17 +0100) are available in the git repository at: git://git.yoctoproject.org/poky-contrib mroussin/fix_cmake_find_cuda_not_android http://git.yoctoproject.org/cgit.cgi/poky-contrib/log/?h=mroussin/fix_cmake_find_cuda_not_android Maxime Roussin-Bélanger (1): cmake: Use find_program if find_host_program is not available meta/recipes-devtools/cmake/cmake.inc | 1 + ...e-find_program-if-find_host_program-is-no.patch | 36 ++++++++++++++++++++++ 2 files changed, 37 insertions(+) create mode 100644 meta/recipes-devtools/cmake/cmake/0001-FindCUDA-Use-find_program-if-find_host_program-is-no.patch -- 2.1.4 -- _______________________________________________ Openembedded-core mailing list Openembedded-core@lists.openembedded.org http://lists.openembedded.org/mailman/listinfo/openembedded-core