mirror of
https://gitlab.kitware.com/cmake/cmake.git
synced 2026-09-25 04:09:36 +03:00
Tests/Cuda: Remove redundant condition
`CMake_TEST_CUDA` must be set to enter this directory.
This commit is contained in:
committed by
Brad King
parent
1c54e46a17
commit
91f4a420cd
@@ -25,7 +25,7 @@ add_cuda_test_macro(Cuda.StaticRuntimePlusToolkit StaticRuntimePlusToolkit)
|
||||
add_cuda_test_macro(Cuda.Complex CudaComplex)
|
||||
add_cuda_test_macro(Cuda.ProperLinkFlags ProperLinkFlags)
|
||||
|
||||
if(CMake_TEST_CUDA AND NOT CMake_TEST_CUDA STREQUAL "Clang")
|
||||
if(NOT CMake_TEST_CUDA STREQUAL "Clang")
|
||||
# Clang lacks __CUDACC_VER*__ defines.
|
||||
add_cuda_test_macro(Cuda.ProperDeviceLibraries ProperDeviceLibraries)
|
||||
add_cuda_test_macro(Cuda.ToolkitBeforeLang ToolkitBeforeLang)
|
||||
|
||||
Reference in New Issue
Block a user