summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorBrad King <brad.king@kitware.com>2018-04-25 12:50:52 (GMT)
committerKitware Robot <kwrobot@kitware.com>2018-04-25 12:51:03 (GMT)
commit92eae6b72d5e57c8f42781b8c40545d6db348488 (patch)
tree13fc5a36c5225aa20799a04d06ae72c29e9f3030
parent7e4e14219dd93eae6fbe092fbe0cb403d4194abc (diff)
parentbff4651f2e077350d1c8b691d9fce5dd57bb6f69 (diff)
downloadCMake-92eae6b72d5e57c8f42781b8c40545d6db348488.zip
CMake-92eae6b72d5e57c8f42781b8c40545d6db348488.tar.gz
CMake-92eae6b72d5e57c8f42781b8c40545d6db348488.tar.bz2
Merge topic 'cuda-no-cache-host-compiler'
bff4651f2e CUDA: Do not create CMAKE_CUDA_HOST_COMPILER cache entry Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !2003
-rw-r--r--Modules/CMakeDetermineCUDACompiler.cmake1
1 files changed, 0 insertions, 1 deletions
diff --git a/Modules/CMakeDetermineCUDACompiler.cmake b/Modules/CMakeDetermineCUDACompiler.cmake
index 0b8fff6..113b520 100644
--- a/Modules/CMakeDetermineCUDACompiler.cmake
+++ b/Modules/CMakeDetermineCUDACompiler.cmake
@@ -40,7 +40,6 @@ else()
endif()
#Allow the user to specify a host compiler
-set(CMAKE_CUDA_HOST_COMPILER "" CACHE FILEPATH "Host compiler to be used by nvcc")
if(NOT $ENV{CUDAHOSTCXX} STREQUAL "")
get_filename_component(CMAKE_CUDA_HOST_COMPILER $ENV{CUDAHOSTCXX} PROGRAM)
if(NOT EXISTS ${CMAKE_CUDA_HOST_COMPILER})