summaryrefslogtreecommitdiffstats
path: root/Help/guide/tutorial/Step9/MathFunctions/MathFunctions.h
diff options
context:
space:
mode:
authorStephen Sorley <Stephen.Sorley@jhuapl.edu>2016-08-31 13:56:36 (GMT)
committerBrad King <brad.king@kitware.com>2016-08-31 15:52:43 (GMT)
commit6442709bae306903084e0bd710b4cea41d0b2500 (patch)
tree67f7a6cd9acdb292f55cf85cb2283851573c6659 /Help/guide/tutorial/Step9/MathFunctions/MathFunctions.h
parent901a06021e169bdfa19633370192870385868a7d (diff)
downloadCMake-6442709bae306903084e0bd710b4cea41d0b2500.zip
CMake-6442709bae306903084e0bd710b4cea41d0b2500.tar.gz
CMake-6442709bae306903084e0bd710b4cea41d0b2500.tar.bz2
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 'Help/guide/tutorial/Step9/MathFunctions/MathFunctions.h')
0 files changed, 0 insertions, 0 deletions