mirror of
https://github.com/Kitware/CMake.git
synced 2026-04-23 22:58:37 -05:00
7b74213461
Do not try to device link or add CUDA runtime libraries if the language is not enabled. Fixes: #18673 Issue: #18614
11 lines
216 B
CMake
11 lines
216 B
CMake
include(RunCMake)
|
|
|
|
run_cmake(NoLangSHARED)
|
|
run_cmake(LINK_LANGUAGE-genex)
|
|
run_cmake(link-libraries-TARGET_FILE-genex)
|
|
run_cmake(link-libraries-TARGET_FILE-genex-ok)
|
|
|
|
run_cmake(DetermineFail)
|
|
|
|
run_cmake(ExternalCUDA)
|