mirror of
https://gitlab.freedesktop.org/dbus/dbus.git
synced 2026-05-06 04:38:07 +02:00
build: Define x11 to an empty dependency if X11 autolaunch is disabled
Otherwise, we can't build successfully for Windows with X11 autolaunch explicitly disabled. Signed-off-by: Simon McVittie <smcv@collabora.com>
This commit is contained in:
parent
78d359dbb6
commit
179669fa7c
1 changed files with 1 additions and 0 deletions
|
|
@ -501,6 +501,7 @@ endif
|
|||
|
||||
if get_option('x11_autolaunch').disabled()
|
||||
use_x11_autolaunch = false
|
||||
x11 = not_found
|
||||
else
|
||||
if get_option('x11_autolaunch').enabled() and platform_windows
|
||||
error('X11 autolaunch is not supported on Windows')
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue