summaryrefslogtreecommitdiffstats
path: root/Tests
diff options
context:
space:
mode:
authorHong Xu <hong@topbug.net>2019-08-09 23:37:51 (GMT)
committerBrad King <brad.king@kitware.com>2019-08-20 13:47:29 (GMT)
commit76b76a7f9bdf54c8dc299bd1a9c7bcc0bc9ef005 (patch)
tree6ae6d85fe98e3d36f7809b742e4a2d525520bd53 /Tests
parente3746821dfc37c8514c934e1e5d62d0ec99adc9f (diff)
downloadCMake-76b76a7f9bdf54c8dc299bd1a9c7bcc0bc9ef005.zip
CMake-76b76a7f9bdf54c8dc299bd1a9c7bcc0bc9ef005.tar.gz
CMake-76b76a7f9bdf54c8dc299bd1a9c7bcc0bc9ef005.tar.bz2
FindCUDA: Fix support for backslashes in CUDA_NVCC_INCLUDE_DIRS
Backslashes in `CUDA_NVCC_INCLUDE_DIRS` cause syntax errors because it is written to a generated `.cmake` script as a string literal. Use a bracket argument to hold the expanded value as we already do for `CUDA_NVCC_COMPILE_DEFINITIONS`. Then explicitly convert backslashes to forward slashes.
Diffstat (limited to 'Tests')
0 files changed, 0 insertions, 0 deletions