Files
CMake/Tests/RunCMake/include/CMP0146-WARN.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
154 B
CMake

# Do not set CMP0146.
set(_FindCUDA_testing 1)
include(FindCUDA)
if(NOT _FindCUDA_included)
message(FATAL_ERROR "FindCUDA.cmake not included")
endif()