diff options
author | Robert Maynard <robert.maynard@kitware.com> | 2016-11-08 16:51:14 (GMT) |
---|---|---|
committer | Brad King <brad.king@kitware.com> | 2016-11-14 21:40:49 (GMT) |
commit | 9cf5b98d54497b425fe341e4ad5bc188d9fa5445 (patch) | |
tree | 764f56d812906c81d9283fc3cc095287bf1004ce /Modules/CMakeCUDACompiler.cmake.in | |
parent | a5e806b3f51d91814d8a39a4bb84363d530874bb (diff) | |
download | CMake-9cf5b98d54497b425fe341e4ad5bc188d9fa5445.zip CMake-9cf5b98d54497b425fe341e4ad5bc188d9fa5445.tar.gz CMake-9cf5b98d54497b425fe341e4ad5bc188d9fa5445.tar.bz2 |
CUDA: Prefer environment variables CUDACXX and CUDAHOSTCXX.
Diffstat (limited to 'Modules/CMakeCUDACompiler.cmake.in')
-rw-r--r-- | Modules/CMakeCUDACompiler.cmake.in | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/Modules/CMakeCUDACompiler.cmake.in b/Modules/CMakeCUDACompiler.cmake.in index 7148275..8a6c0bc 100644 --- a/Modules/CMakeCUDACompiler.cmake.in +++ b/Modules/CMakeCUDACompiler.cmake.in @@ -6,6 +6,7 @@ set(CMAKE_CUDA_COMPILER_VERSION "@CMAKE_CUDA_COMPILER_VERSION@") set(CMAKE_CUDA_STANDARD_COMPUTED_DEFAULT "@CMAKE_CUDA_STANDARD_COMPUTED_DEFAULT@") set(CMAKE_CUDA_COMPILER_ENV_VAR "CUDACXX") +set(CMAKE_CUDA_HOST_COMPILER_ENV_VAR "CUDAHOSTCXX") set(CMAKE_CUDA_COMPILER_ID_RUN 1) set(CMAKE_CUDA_SOURCE_FILE_EXTENSIONS cu) |