meson: Don't require libvncserver as a subproject
parent
2414e23dd6
commit
1ca82ce2e2
|
@ -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
|
||||||
|
|
Loading…
Reference in New Issue