build: fix build with mutter less than 3.36 (#945)

This commit is contained in:
WORLDofPEACE 2020-10-26 06:49:58 -04:00 committed by GitHub
parent b19289cb7b
commit c124a8552d
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -23,13 +23,11 @@ gala_bin_sources = files(
'Background/BackgroundManager.vala',
'Background/BackgroundSource.vala',
'Background/SystemBackground.vala',
'Widgets/DwellClickTimer.vala',
'Widgets/IconGroup.vala',
'Widgets/IconGroupContainer.vala',
'Widgets/MonitorClone.vala',
'Widgets/MultitaskingView.vala',
'Widgets/PixelPicker.vala',
'Widgets/PointerLocator.vala',
'Widgets/SafeWindowClone.vala',
'Widgets/ScreenShield.vala',
'Widgets/SelectionArea.vala',
@ -42,6 +40,15 @@ gala_bin_sources = files(
'Widgets/WorkspaceInsertThumb.vala',
)
gala_bin_sources_336 = [
'Widgets/DwellClickTimer.vala',
'Widgets/PointerLocator.vala',
]
if mutter336_dep.found()
gala_bin_sources += gala_bin_sources_336
endif
gala_bin = executable(
'gala',
gala_bin_sources,