diff options
author | Stephen Sorley <Stephen.Sorley@jhuapl.edu> | 2016-08-31 09:56:36 -0400 |
---|---|---|
committer | Brad King <brad.king@kitware.com> | 2016-08-31 11:52:43 -0400 |
commit | 6442709bae306903084e0bd710b4cea41d0b2500 (patch) | |
tree | 67f7a6cd9acdb292f55cf85cb2283851573c6659 /Modules/FindDCMTK.cmake | |
parent | 901a06021e169bdfa19633370192870385868a7d (diff) | |
download | cmake-6442709bae306903084e0bd710b4cea41d0b2500.tar.gz |
FindCUDA: Fix for broken cuda_compile* commands.
The macros CUDA_COMPILE, CUDA_COMPILE_PTX, CUDA_COMPILE_FATBIN, and
CUDA_COMPILE_CUBIN were broken by commit 7ded655 (FindCUDA: Take NVCC
include directories from target properties, 2016-08-16). This bug is
due to the fact that all of these macros call CUDA_WRAP_SRCS with a
target name that's not an actual target, causing the new generator
expressions to fail.
Fix the bug by changing these macros to pass "PHONY" to CUDA_WRAP_SRCS.
Now, when CUDA_WRAP_SRCS sees "PHONY", it falls back to the old behavior
of populating the include directories and compile definitions from
directory properties, instead of using target generator expressions.
Diffstat (limited to 'Modules/FindDCMTK.cmake')
0 files changed, 0 insertions, 0 deletions