Commit 489ff860 authored by Marc Leeman's avatar Marc Leeman Committed by Seungha Yang

nvcodec: do a generic cuda tests before going into version specifics

parent c18fda03
Pipeline #47315 passed with stages
in 58 minutes and 37 seconds
......@@ -37,6 +37,11 @@ cuda_versions = [
]
cuda_ver = ''
cuda_dep = dependency('cuda', required:false)
if cuda_dep.found()
cuda_ver = cuda_dep.version()
endif
# FIXME: use break syntax when we use meson >= '0.49'
foreach v : cuda_versions
if cuda_ver == ''
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment