1 2 3 4 5 6 7
cmake_policy(SET CMP0146 NEW) set(_FindCUDA_testing TRUE) find_package(CUDA MODULE) if(_FindCUDA_included) message(FATAL_ERROR "FindCUDA.cmake erroneously included") endif()