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

meson: better error for freerdp

Helps people to avoid freerdp if they don't want it.
Signed-off-by: Pekka Paalanen's avatarPekka Paalanen <>
parent 9adcf440
......@@ -251,7 +251,10 @@ if get_option('backend-rdp')
dep_frdp = dependency('freerdp2', version: '>= 2.0.0', required: false)
if not dep_frdp.found()
dep_frdp = dependency('freerdp', version: '>= 1.1.0')
dep_frdp = dependency('freerdp', version: '>= 1.1.0', required: false)
if not dep_frdp.found()
error('RDP-backend requires freerdp which was not found. Or, you can use \'-Dbackend-rdp=false\'.')
if cc.has_header('freerdp/version.h', dependencies: dep_frdp)
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