Skip to content
This repository was archived by the owner on Apr 6, 2026. It is now read-only.

Commit ce07580

Browse files
authored
hotfix: cuda-maxver (#172)
1 parent 7e2d730 commit ce07580

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

build2cmake/src/templates/cuda/preamble.cmake

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -45,7 +45,7 @@ if (NOT HIP_FOUND AND CUDA_FOUND)
4545
{% endif %}
4646

4747
{% if cuda_maxver %}
48-
if (CUDA_VERSION VERSION_MORE {{ cuda_maxver }})
48+
if (CUDA_VERSION VERSION_GREATER {{ cuda_maxver }})
4949
message(FATAL_ERROR "CUDA version ${CUDA_VERSION} is too new. "
5050
"Maximum version is {{ cuda_maxver }}.")
5151
endif()

0 commit comments

Comments
 (0)