sub/sd_sbr: check runtime version
This commit is contained in:
1 parent
5c80b876db
commit
c0d989c839
2 files changed
+16
-1
No files matched your search
+1
-1
@@ -355,7 +355,7 @@ if features['libdl']
|
||||
dependencies += libdl
|
||||
endif
|
||||
|
||||
subrandr = dependency('subrandr', version: '>= 0.1.1', required: get_option('subrandr'))
|
||||
subrandr = dependency('subrandr', version: '>= 1.0.0', required: get_option('subrandr'))
|
||||
features += {'subrandr': subrandr.found()}
|
||||
if features['subrandr']
|
||||
sources += files('demux/demux_sbr.c', 'sub/sd_sbr.c')
|
||||
|
||||
Reference in new issue
Block a user