This forum has been archived. All content is frozen. Please use KDE Discuss instead.

Unknown CMake command "find_host_program"

Tags: None
(comma "," separated)
dbensoussan
Registered Member
Posts
1
Karma
0
I am trying to cross compile libeigen 3.3 for aarch64. I never had issues before, when using 3.2.8. I need the new version because this issue has been solved (http://eigen.tuxfamily.org/bz/show_bug.cgi?id=872)
It is ending like this

Code: Select all
CMake Error at /home/yocto/yocto_topdir/tmp/work/aarch64-poky-linux/libeigen/3.3.3-r0/recipe-sysroot-native/usr/share/cmake-3.7/Modules/FindCUDA.cmake:675 (find_host_program):
|   Unknown CMake command "find_host_program".
| Call Stack (most recent call first):
|   /home/yocto/yocto_topdir/tmp/work/aarch64-poky-linux/libeigen/3.3.3-r0/recipe-sysroot-native/usr/share/cmake-3.7/Modules/FindCUDA.cmake:687 (cuda_find_host_program)
|   unsupported/test/CMakeLists.txt:198 (find_package)
|
|
| -- Configuring incomplete, errors occurred!


It cannot find `find_host_program` which I only found reference here https://gitlab.kitware.com/cmake/cmake/issues/16509. Would you have any idea why it is not recognized?

Thanks


Bookmarks



Who is online

Registered users: abc72656, Bing [Bot], daret, Google [Bot], Sogou [Bot], Yahoo [Bot]