mirror of
https://github.com/Kitware/CMake.git
synced 2026-01-04 12:49:36 -06:00
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.
8 lines
154 B
CMake
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()
|