diff options
author | Brad King <brad.king@kitware.com> | 2024-01-17 22:02:15 (GMT) |
---|---|---|
committer | Brad King <brad.king@kitware.com> | 2024-01-22 14:33:54 (GMT) |
commit | 88c740462c63b09a20b4eeac0aa6ef182cb0c5dd (patch) | |
tree | ad50f0a7aa4d0b0594c4ad11543f33bcf5e92f46 /Modules/CMakeDetermineCUDACompiler.cmake | |
parent | 62ca95518e37e9bc9fd4ae4b898f78c4d4c4893b (diff) | |
download | CMake-88c740462c63b09a20b4eeac0aa6ef182cb0c5dd.zip CMake-88c740462c63b09a20b4eeac0aa6ef182cb0c5dd.tar.gz CMake-88c740462c63b09a20b4eeac0aa6ef182cb0c5dd.tar.bz2 |
CUDA/Clang: Add support for MSVC ABI on Windows using GNU-like frontend
Fixes: #20776
Diffstat (limited to 'Modules/CMakeDetermineCUDACompiler.cmake')
-rw-r--r-- | Modules/CMakeDetermineCUDACompiler.cmake | 4 |
1 files changed, 0 insertions, 4 deletions
diff --git a/Modules/CMakeDetermineCUDACompiler.cmake b/Modules/CMakeDetermineCUDACompiler.cmake index 6ac4dad..70528da 100644 --- a/Modules/CMakeDetermineCUDACompiler.cmake +++ b/Modules/CMakeDetermineCUDACompiler.cmake @@ -74,10 +74,6 @@ if(NOT CMAKE_CUDA_COMPILER_ID_RUN) set(CMAKE_CUDA_COMPILER_ID_VENDOR_REGEX_Clang "(clang version)") CMAKE_DETERMINE_COMPILER_ID_VENDOR(CUDA "--version") - if(CMAKE_CUDA_COMPILER_ID STREQUAL "Clang" AND WIN32) - message(FATAL_ERROR "Clang with CUDA is not yet supported on Windows. See CMake issue #20776.") - endif() - # Find the CUDA toolkit to get: # - CMAKE_CUDA_COMPILER_TOOLKIT_VERSION # - CMAKE_CUDA_COMPILER_TOOLKIT_ROOT |