summaryrefslogtreecommitdiffstats
path: root/Tests/RunCMake/CMP0104/CMP0104-Common.cmake
blob: ca4c1aa2254c7374bde666998680b0a8bafd7912 (plain)
1
2
3
4
5
6
# Make sure CMP0104 isn't issued for CXX targets created prior to enabling CUDA. See #21341.
enable_language(CXX)
add_library(cxx main.cxx)

enable_language(CUDA)
add_library(cuda main.cu)