1 2 3 4 5 6 7
cmake_policy(SET CMP0146 OLD) set(_FindCUDA_testing 1) include(FindCUDA) if(NOT _FindCUDA_included) message(FATAL_ERROR "FindCUDA.cmake not included") endif()