Files
CMake/Tests/RunCMake/include/CMP0146-OLD.cmake
Brad King 2c146a7fc5 FindCUDA: Add policy to remove this module
The `FindCUDA` module has been deprecated since CMake 3.10.
Add a policy to pretend it doesn't exist in order to encourage
projects to port away from it.
2023-03-09 07:39:36 -05:00

8 lines
162 B
CMake

cmake_policy(SET CMP0146 OLD)
set(_FindCUDA_testing 1)
include(FindCUDA)
if(NOT _FindCUDA_included)
message(FATAL_ERROR "FindCUDA.cmake not included")
endif()