summaryrefslogtreecommitdiffstats
path: root/Modules/CMakeFortranCompiler.cmake.in
diff options
context:
space:
mode:
authorBrad King <brad.king@kitware.com>2020-05-22 11:48:19 (GMT)
committerBrad King <brad.king@kitware.com>2020-05-22 12:15:38 (GMT)
commitbcb44ac2ee0609b701fef84bcc333fda9b1c02b9 (patch)
treedc61302c46a26c15b9cf76d9b98e0fd4ad1d36fc /Modules/CMakeFortranCompiler.cmake.in
parent23519dd24fc3f6c1c0f80fd57aa99fea1d869962 (diff)
downloadCMake-bcb44ac2ee0609b701fef84bcc333fda9b1c02b9.zip
CMake-bcb44ac2ee0609b701fef84bcc333fda9b1c02b9.tar.gz
CMake-bcb44ac2ee0609b701fef84bcc333fda9b1c02b9.tar.bz2
CUDA: Simplify Clang implicit host linker settings
The purpose of `CMAKE_CUDA_HOST_IMPLICIT_LINK_*` is to capture the extra link libraries and directories that the CUDA compiler passes when invoking the host linker. We need this when using NVCC because CMake drives the host linker directly rather than through NVCC. However, this is not needed with Clang because: * Clang does not pass any CUDA libraries automatically. * We drive linking with the Clang compiler anyway. Drop the detection logic for Clang because it only gives the normal C++ runtime libraries which we do not need here.
Diffstat (limited to 'Modules/CMakeFortranCompiler.cmake.in')
0 files changed, 0 insertions, 0 deletions