You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
21 lines
420 B
21 lines
420 B
if not get_option('wcap-decode')
|
|
subdir_done()
|
|
endif
|
|
|
|
srcs_wcap = [
|
|
'main.c',
|
|
'wcap-decode.c',
|
|
]
|
|
|
|
wcap_dep_cairo = dependency('cairo', required: false)
|
|
if not wcap_dep_cairo.found()
|
|
error('wcap requires cairo which was not found. Or, you can use \'-Dwcap-decode=false\'.')
|
|
endif
|
|
|
|
executable(
|
|
'wcap-decode',
|
|
srcs_wcap,
|
|
include_directories: common_inc,
|
|
dependencies: [ dep_libm, wcap_dep_cairo ],
|
|
install: true
|
|
)
|
|
|