Skip to content

Commit 10e390b

Browse files
[pre-commit.ci] auto fixes from pre-commit.com hooks
for more information, see https://pre-commit.ci
1 parent dcf1b9d commit 10e390b

1 file changed

Lines changed: 5 additions & 3 deletions

File tree

source/CMakeLists.txt

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -31,11 +31,13 @@ endif()
3131

3232
# CUDA 13.0+ requires C++17
3333
if(USE_CUDA_TOOLKIT)
34-
if(DEFINED CMAKE_CUDA_COMPILER_VERSION AND CMAKE_CUDA_COMPILER_VERSION VERSION_GREATER_EQUAL
35-
"13.0")
34+
if(DEFINED CMAKE_CUDA_COMPILER_VERSION AND CMAKE_CUDA_COMPILER_VERSION
35+
VERSION_GREATER_EQUAL "13.0")
3636
set_if_higher(CMAKE_CXX_STANDARD 17)
3737
message(
38-
STATUS "CUDA ${CMAKE_CUDA_COMPILER_VERSION} detected, setting C++ standard to 17")
38+
STATUS
39+
"CUDA ${CMAKE_CUDA_COMPILER_VERSION} detected, setting C++ standard to 17"
40+
)
3941
endif()
4042
endif()
4143

0 commit comments

Comments
 (0)