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:
parent
7f213c2a2f
commit
bb38601d0f
@ -284,7 +284,7 @@ if have_wayland_eglstream
|
|||||||
endif
|
endif
|
||||||
endif
|
endif
|
||||||
|
|
||||||
have_sm = get_option('sm')
|
have_sm = get_option('sm') and have_x11
|
||||||
if have_sm
|
if have_sm
|
||||||
sm_dep = dependency('sm')
|
sm_dep = dependency('sm')
|
||||||
endif
|
endif
|
||||||
|
Loading…
x
Reference in New Issue
Block a user