Commit b423edec authored by Pekka Paalanen's avatar Pekka Paalanen
Browse files

meson: better error for wcap dep cairo

Add human-friendly error message.

Cairo is a hard dependency on the whole at least because tests seem to
require it, but this will help if someone adds an option to disable
building tests to get rid of Cairo.
Signed-off-by: Pekka Paalanen's avatarPekka Paalanen <>
parent 182d3771
......@@ -7,15 +7,15 @@ srcs_wcap = [
deps_wcap = [
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\'.')
include_directories: include_directories('..'),
dependencies: deps_wcap,
dependencies: [ dep_libm, wcap_dep_cairo ],
install: true
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