FindCuda: unknown CMake command "find_host_program"
I have a library which searches for Cuda (and if it finds it it enables some options, otherwise not). When trying to cross compiling for iOS I have the following error:
CMake Error at /usr/local/Cellar/cmake/3.7.1/share/cmake/Modules/FindCUDA.cmake:675 (find_host_program):
Unknown CMake command "find_host_program".
Call Stack (most recent call first):
/usr/local/Cellar/cmake/3.7.1/share/cmake/Modules/FindCUDA.cmake:687 (cuda_find_host_program)
cmake/YarpFindDependencies.cmake:387 (find_package)
CMakeLists.txt:62 (include)
Any clue on this error?