summaryrefslogtreecommitdiffstats
path: root/Modules/CMakeCUDACompiler.cmake.in
diff options
context:
space:
mode:
authorRobert Maynard <robert.maynard@kitware.com>2017-01-17 20:09:22 (GMT)
committerBrad King <brad.king@kitware.com>2017-01-24 20:43:43 (GMT)
commitdf3353d1f9b4cebc46018fd8fb6c601d038747c1 (patch)
treef73e4ac92b80d40efb9a0c141c4eff9e8e2b9e09 /Modules/CMakeCUDACompiler.cmake.in
parent7b4514fb33cf256ef165b2b28ba4affd1930a957 (diff)
downloadCMake-df3353d1f9b4cebc46018fd8fb6c601d038747c1.zip
CMake-df3353d1f9b4cebc46018fd8fb6c601d038747c1.tar.gz
CMake-df3353d1f9b4cebc46018fd8fb6c601d038747c1.tar.bz2
CUDA: set linker preference between C and C++
Diffstat (limited to 'Modules/CMakeCUDACompiler.cmake.in')
-rw-r--r--Modules/CMakeCUDACompiler.cmake.in2
1 files changed, 1 insertions, 1 deletions
diff --git a/Modules/CMakeCUDACompiler.cmake.in b/Modules/CMakeCUDACompiler.cmake.in
index 7e8efa7..158d12b 100644
--- a/Modules/CMakeCUDACompiler.cmake.in
+++ b/Modules/CMakeCUDACompiler.cmake.in
@@ -13,7 +13,7 @@ set(CMAKE_CUDA_HOST_COMPILER_ENV_VAR "CUDAHOSTCXX")
set(CMAKE_CUDA_COMPILER_ID_RUN 1)
set(CMAKE_CUDA_SOURCE_FILE_EXTENSIONS cu)
-set(CMAKE_CUDA_LINKER_PREFERENCE 10)
+set(CMAKE_CUDA_LINKER_PREFERENCE 15)
set(CMAKE_CUDA_LINKER_PREFERENCE_PROPAGATES 1)
set(CMAKE_CUDA_HOST_IMPLICIT_LINK_LIBRARIES "@CMAKE_CUDA_HOST_IMPLICIT_LINK_LIBRARIES@")