summaryrefslogtreecommitdiffstats
path: root/Tests/RunCMake/find_package/CMP0146-OLD.cmake
blob: 77cd1f528dabd01787c1fc8927e3c5e9005a8b23 (plain)
1
2
3
4
5
6
7
cmake_policy(SET CMP0146 OLD)
set(_FindCUDA_testing TRUE)
find_package(CUDA MODULE)

if(NOT _FindCUDA_included)
  message(FATAL_ERROR "FindCUDA.cmake not included")
endif()