mirror of
https://github.com/Kitware/CMake.git
synced 2026-04-24 23:28:32 -05:00
2c146a7fc5
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.
7 lines
143 B
CMake
7 lines
143 B
CMake
set(_FindCUDA_testing TRUE)
|
|
find_package(CUDA MODULE)
|
|
|
|
if(NOT _FindCUDA_included)
|
|
message(FATAL_ERROR "FindCUDA.cmake not included")
|
|
endif()
|