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
1 changed files with 1 additions and 1 deletions
|
@ -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
|
||||
|
|
Loading…
Add table
Reference in a new issue