diff options
author | Brad King <brad.king@kitware.com> | 2020-06-18 19:50:10 (GMT) |
---|---|---|
committer | Brad King <brad.king@kitware.com> | 2020-06-18 19:50:10 (GMT) |
commit | 4ab5f109f0f755a91aa89f8242481ea25989ffbd (patch) | |
tree | 919945b0bf9ce7ca7bf800304aa853bd04a6a463 /Modules | |
parent | 492e5f01fa032b21538adc0bd0abb2255341975c (diff) | |
download | CMake-4ab5f109f0f755a91aa89f8242481ea25989ffbd.zip CMake-4ab5f109f0f755a91aa89f8242481ea25989ffbd.tar.gz CMake-4ab5f109f0f755a91aa89f8242481ea25989ffbd.tar.bz2 |
CUDA: Remove unused variables while determining compiler
Diffstat (limited to 'Modules')
-rw-r--r-- | Modules/CMakeDetermineCUDACompiler.cmake | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/Modules/CMakeDetermineCUDACompiler.cmake b/Modules/CMakeDetermineCUDACompiler.cmake index 76e69c5..598c270 100644 --- a/Modules/CMakeDetermineCUDACompiler.cmake +++ b/Modules/CMakeDetermineCUDACompiler.cmake @@ -61,8 +61,6 @@ if(NOT CMAKE_CUDA_COMPILER_ID_RUN) set(CMAKE_CUDA_COMPILER_ID_VENDOR_REGEX_NVIDIA "nvcc: NVIDIA \\(R\\) Cuda compiler driver") set(CMAKE_CUDA_COMPILER_ID_VENDOR_REGEX_Clang "(clang version)") - set(CMAKE_CXX_COMPILER_ID_TOOL_MATCH_REGEX "\nLd[^\n]*(\n[ \t]+[^\n]*)*\n[ \t]+([^ \t\r\n]+)[^\r\n]*-o[^\r\n]*CompilerIdCUDA/(\\./)?(CompilerIdCUDA.xctest/)?CompilerIdCUDA[ \t\n\\\"]") - set(CMAKE_CXX_COMPILER_ID_TOOL_MATCH_INDEX 2) set(CMAKE_CUDA_COMPILER_ID_FLAGS_ALWAYS "-v") # We determine the vendor to help with find the toolkit and use the right flags for detection right away. |