mirror of
https://github.com/Kitware/CMake.git
synced 2026-01-06 21:59:54 -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
162 B
CMake
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()
|