diff options
author | Robert Maynard <robert.maynard@kitware.com> | 2019-08-06 19:04:59 (GMT) |
---|---|---|
committer | Robert Maynard <robert.maynard@kitware.com> | 2019-08-06 19:44:15 (GMT) |
commit | a233e4e7d9c157cae0098762d8a7add463fb3492 (patch) | |
tree | 15b5bf844956643db07ed0f9de74f5a6b60b0bad /Modules/Compiler | |
parent | fdaad9a067e8fa55816d9cef2481450fc5b1f18b (diff) | |
download | CMake-a233e4e7d9c157cae0098762d8a7add463fb3492.zip CMake-a233e4e7d9c157cae0098762d8a7add463fb3492.tar.gz CMake-a233e4e7d9c157cae0098762d8a7add463fb3492.tar.bz2 |
CUDA: Compilers can now state they don't require a device linking step
Diffstat (limited to 'Modules/Compiler')
-rw-r--r-- | Modules/Compiler/NVIDIA-CUDA.cmake | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/Modules/Compiler/NVIDIA-CUDA.cmake b/Modules/Compiler/NVIDIA-CUDA.cmake index c0ccb71..b59deda 100644 --- a/Modules/Compiler/NVIDIA-CUDA.cmake +++ b/Modules/Compiler/NVIDIA-CUDA.cmake @@ -1,3 +1,4 @@ +set(CMAKE_CUDA_COMPILER_HAS_DEVICE_LINK_PHASE True) set(CMAKE_CUDA_VERBOSE_FLAG "-v") set(CMAKE_CUDA_VERBOSE_COMPILE_FLAG "-Xcompiler=-v") |