Skip to content
This repository has been archived by the owner on Jul 1, 2023. It is now read-only.

CMake: Prefer CUDAToolkit over CUDA if available #454

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

peterbell10
Copy link

In newer CMake versions find_package(CUDA) is deprecated in favor of
find_package(CUDATookit) and enable_language(CUDA).

This first tries to find CUDAToolkit and falls back to CUDA if
it's not available.

cc @malfet

In newer CMake versions `find_package(CUDA)` is deprecated in favor of
`find_package(CUDATookit)` and `enable_language(CUDA)`.

This first tries to find `CUDAToolkit` and falls back to `CUDA` if
it's not available.
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants