mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-11-19 16:21:17 +00:00
nvcodec: do a generic cuda tests before going into version specifics
This commit is contained in:
parent
c18fda03d9
commit
489ff8604f
1 changed files with 5 additions and 0 deletions
|
@ -37,6 +37,11 @@ cuda_versions = [
|
||||||
]
|
]
|
||||||
cuda_ver = ''
|
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'
|
# FIXME: use break syntax when we use meson >= '0.49'
|
||||||
foreach v : cuda_versions
|
foreach v : cuda_versions
|
||||||
if cuda_ver == ''
|
if cuda_ver == ''
|
||||||
|
|
Loading…
Reference in a new issue