meson: Don't require libvncserver as a subproject

pull/3/head
Andri Yngvason 2020-12-06 22:16:58 +00:00
parent 2414e23dd6
commit 1ca82ce2e2
1 changed files with 2 additions and 1 deletions

View File

@ -40,7 +40,8 @@ libvncserver_opt.add_cmake_defines({
'LIBVNCSERVER_INSTALL': false, 'LIBVNCSERVER_INSTALL': false,
}) })
libvncserver_project = cmake.subproject('libvncserver', options: libvncserver_opt) libvncserver_project = cmake.subproject('libvncserver', required: false,
options: libvncserver_opt)
if libvncserver_project.found() if libvncserver_project.found()
libvncclient = libvncserver_project.dependency('vncclient') libvncclient = libvncserver_project.dependency('vncclient')
else else