diff options
author | Robert Maynard <rmaynard@nvidia.com> | 2023-01-12 15:36:25 (GMT) |
---|---|---|
committer | unknown <rmaynard@nvidia.com> | 2023-01-16 16:27:13 (GMT) |
commit | 0c56bdf91ed9c2b2fcf2ee7efb2f08b575ba4aae (patch) | |
tree | e21fe67524fff4dbc279a6d46bf4f01c939f4a99 /Source | |
parent | df978c5aa86f1c83828d114d9f57ba50c2e0ac6a (diff) | |
download | CMake-0c56bdf91ed9c2b2fcf2ee7efb2f08b575ba4aae.zip CMake-0c56bdf91ed9c2b2fcf2ee7efb2f08b575ba4aae.tar.gz CMake-0c56bdf91ed9c2b2fcf2ee7efb2f08b575ba4aae.tar.bz2 |
CUDA: device linking obeys CMAKE_CUDA_VISIBILITY_PRESET setting
Fixes #24272
Diffstat (limited to 'Source')
-rw-r--r-- | Source/cmLocalGenerator.cxx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Source/cmLocalGenerator.cxx b/Source/cmLocalGenerator.cxx index cedb367..13f2745 100644 --- a/Source/cmLocalGenerator.cxx +++ b/Source/cmLocalGenerator.cxx @@ -1408,7 +1408,7 @@ void cmLocalGenerator::GetDeviceLinkFlags( linkPath); } - // iterate link deps and see if any of them need IPO + this->AddVisibilityPresetFlags(linkFlags, target, "CUDA"); std::vector<std::string> linkOpts; target->GetLinkOptions(linkOpts, config, "CUDA"); |