summaryrefslogtreecommitdiffstats
path: root/Modules/Compiler
diff options
context:
space:
mode:
authorBrad King <brad.king@kitware.com>2020-05-21 15:19:48 (GMT)
committerBrad King <brad.king@kitware.com>2020-05-22 10:50:19 (GMT)
commitd8eee80e3091ebdc1af2208ec6e94d885b279be9 (patch)
treeb3e9b51d85b895e0f89c75a6b71d95c6769f320e /Modules/Compiler
parent345d707cf0d68c27edcaa9f76ac3257303750b70 (diff)
parente55b21e24ee81f5433b8ec778aa341c485d6e149 (diff)
downloadCMake-d8eee80e3091ebdc1af2208ec6e94d885b279be9.zip
CMake-d8eee80e3091ebdc1af2208ec6e94d885b279be9.tar.gz
CMake-d8eee80e3091ebdc1af2208ec6e94d885b279be9.tar.bz2
Merge branch 'backport-cuda-default-runtime' into cuda-default-runtime
Diffstat (limited to 'Modules/Compiler')
-rw-r--r--Modules/Compiler/NVIDIA-CUDA.cmake1
1 files changed, 0 insertions, 1 deletions
diff --git a/Modules/Compiler/NVIDIA-CUDA.cmake b/Modules/Compiler/NVIDIA-CUDA.cmake
index eb8d55c..87607e2 100644
--- a/Modules/Compiler/NVIDIA-CUDA.cmake
+++ b/Modules/Compiler/NVIDIA-CUDA.cmake
@@ -59,7 +59,6 @@ set(CMAKE_CUDA_DEVICE_COMPILER_WRAPPER_FLAG_SEP ",")
set(CMAKE_CUDA_DEVICE_LINKER_WRAPPER_FLAG "-Xlinker=")
set(CMAKE_CUDA_DEVICE_LINKER_WRAPPER_FLAG_SEP ",")
-set(CMAKE_CUDA_RUNTIME_LIBRARY_DEFAULT "STATIC")
set(CMAKE_CUDA_RUNTIME_LIBRARY_LINK_OPTIONS_STATIC "cudadevrt;cudart_static")
set(CMAKE_CUDA_RUNTIME_LIBRARY_LINK_OPTIONS_SHARED "cudadevrt;cudart")
set(CMAKE_CUDA_RUNTIME_LIBRARY_LINK_OPTIONS_NONE "")