summaryrefslogtreecommitdiffstats
path: root/Modules/CMakeCCompiler.cmake.in
diff options
context:
space:
mode:
authorBrad King <brad.king@kitware.com>2018-05-25 14:03:03 (GMT)
committerBrad King <brad.king@kitware.com>2018-05-25 14:03:03 (GMT)
commitedf0ea9bb2a0ecd411e14d0c7e27089cc258048b (patch)
tree860219dbd6a379592ea4e29ab404812e4d598a18 /Modules/CMakeCCompiler.cmake.in
parent46b26b52c9e4a308dbb9efbca062ae15a2a2d47c (diff)
downloadCMake-edf0ea9bb2a0ecd411e14d0c7e27089cc258048b.zip
CMake-edf0ea9bb2a0ecd411e14d0c7e27089cc258048b.tar.gz
CMake-edf0ea9bb2a0ecd411e14d0c7e27089cc258048b.tar.bz2
CUDA: Drop unused/broken platform link flags placeholder
The `<CMAKE_CUDA_LINK_FLAGS>` placeholder in CUDA rule variables comes from the `<CMAKE_CXX_LINK_FLAGS>` placeholder from which the CUDA rule variables were originally derived. It is not a public interface for adding link flags so no projects should be using it. It is needed for platform information modules to specify platform-specific link flags for the language. None of our platform modules set it, so it is unused. Furthermore, it is broken as currently implemented. Some of the contexts in which it is used need `-Xlinker` and some do not. Therefore it is not possible to use the placeholder at all. Simply remove it for now. If some need for platform-specific CUDA link flags arises a new solution will be needed.
Diffstat (limited to 'Modules/CMakeCCompiler.cmake.in')
0 files changed, 0 insertions, 0 deletions