summaryrefslogtreecommitdiffstats
path: root/CMakeLists.txt
diff options
context:
space:
mode:
authorRobert Maynard <robert.maynard@kitware.com>2017-06-26 14:41:03 (GMT)
committerBrad King <brad.king@kitware.com>2017-06-26 18:59:05 (GMT)
commita3e442bbfc8374c90aec9836ee40aa35a43c1bc2 (patch)
treecb0bfa14d2616c63e41cd017a7451651151f44c6 /CMakeLists.txt
parent581fda598cc4132519c5abdcd566cab42269ad1f (diff)
downloadCMake-a3e442bbfc8374c90aec9836ee40aa35a43c1bc2.zip
CMake-a3e442bbfc8374c90aec9836ee40aa35a43c1bc2.tar.gz
CMake-a3e442bbfc8374c90aec9836ee40aa35a43c1bc2.tar.bz2
FindCUDA: Fix CUDA_NVCC_FLAGS_<CONFIG> for separable compilation
Since commit v3.0.0-rc6~3^2 (FindCUDA: Use CUDA_NVCC_FLAGS* for separable compilation, 2014-05-18), using the feature for one configuration results in empty-string ("") arguments on the command line for other configurations. This is because the generator expression for a non-matching configuration evaluates to an empty string but does not remove the argument. Use `COMMAND_EXPAND_LISTS` to remove the empty arguments from the custom command after genex evaluation. Fixes: #16411
Diffstat (limited to 'CMakeLists.txt')
0 files changed, 0 insertions, 0 deletions