summaryrefslogtreecommitdiffstats
path: root/Source/cmLocalGenerator.cxx
diff options
context:
space:
mode:
authorBrad King <brad.king@kitware.com>2023-01-18 15:52:02 (GMT)
committerKitware Robot <kwrobot@kitware.com>2023-01-18 15:52:12 (GMT)
commit3e7f3e2ca90ca8d5c20c81579893559691c03158 (patch)
treec6a1b454092a92cebced8cddedd749ca13cff9e3 /Source/cmLocalGenerator.cxx
parent427538b78e65ece37b135a86189c4251f1c4ccb8 (diff)
parent0c56bdf91ed9c2b2fcf2ee7efb2f08b575ba4aae (diff)
downloadCMake-3e7f3e2ca90ca8d5c20c81579893559691c03158.zip
CMake-3e7f3e2ca90ca8d5c20c81579893559691c03158.tar.gz
CMake-3e7f3e2ca90ca8d5c20c81579893559691c03158.tar.bz2
Merge topic 'add_visbility_flags_to_device_link_line'
0c56bdf91e CUDA: device linking obeys CMAKE_CUDA_VISIBILITY_PRESET setting Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !8065
Diffstat (limited to 'Source/cmLocalGenerator.cxx')
-rw-r--r--Source/cmLocalGenerator.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/Source/cmLocalGenerator.cxx b/Source/cmLocalGenerator.cxx
index 9a49af1..75ec694 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");