diff options
author | Robert Maynard <robert.maynard@kitware.com> | 2016-08-29 17:28:37 (GMT) |
---|---|---|
committer | Robert Maynard <robert.maynard@kitware.com> | 2016-11-14 16:36:43 (GMT) |
commit | 4f5155f6aba7cb7cd8c0e5b75e43b38a70568eb1 (patch) | |
tree | f9985cf9906992c74390b8187fd9d4c3d371684e /Modules/CMakeCUDACompiler.cmake.in | |
parent | aaeee1ca72d4f8b09ebf98c3e3bd73d50c09c0d8 (diff) | |
download | CMake-4f5155f6aba7cb7cd8c0e5b75e43b38a70568eb1.zip CMake-4f5155f6aba7cb7cd8c0e5b75e43b38a70568eb1.tar.gz CMake-4f5155f6aba7cb7cd8c0e5b75e43b38a70568eb1.tar.bz2 |
CUDA: We now properly perform CUDA compiler identification.
Diffstat (limited to 'Modules/CMakeCUDACompiler.cmake.in')
-rw-r--r-- | Modules/CMakeCUDACompiler.cmake.in | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/Modules/CMakeCUDACompiler.cmake.in b/Modules/CMakeCUDACompiler.cmake.in index 78606e6..897fc52 100644 --- a/Modules/CMakeCUDACompiler.cmake.in +++ b/Modules/CMakeCUDACompiler.cmake.in @@ -1,8 +1,13 @@ set(CMAKE_CUDA_COMPILER "@CMAKE_CUDA_COMPILER@") set(CMAKE_CUDA_COMPILER_ID "@CMAKE_CUDA_COMPILER_ID@") +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_COMPILER_ID_RUN 1) set(CMAKE_CUDA_SOURCE_FILE_EXTENSIONS cu) + +set(CMAKE_CUDA_IMPLICIT_LINK_LIBRARIES "@CMAKE_CUDA_IMPLICIT_LINK_LIBRARIES@") +set(CMAKE_CUDA_IMPLICIT_LINK_DIRECTORIES "@CMAKE_CUDA_IMPLICIT_LINK_DIRECTORIES@") +set(CMAKE_CUDA_IMPLICIT_LINK_FRAMEWORK_DIRECTORIES "@CMAKE_CUDA_IMPLICIT_LINK_FRAMEWORK_DIRECTORIES@") |