1
0
Fork 0

build: Don't check for sm dependency if x11 is disabled

Part-of: <https://gitlab.gnome.org/GNOME/mutter/-/merge_requests/3765>
This commit is contained in:
Bilal Elmoussaoui 2024-05-22 10:55:09 +02:00 committed by Marge Bot
parent 7f213c2a2f
commit bb38601d0f

View file

@ -284,7 +284,7 @@ if have_wayland_eglstream
endif
endif
have_sm = get_option('sm')
have_sm = get_option('sm') and have_x11
if have_sm
sm_dep = dependency('sm')
endif