mirror of
https://github.com/Kitware/CMake.git
synced 2026-01-07 06:09:52 -06:00
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)
|