[mutter/akitouni/cvt-native-backend: 1/2] build: check for cvt only when building the native backend (meson)
- From: Abderrahim Kitouni <akitouni src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [mutter/akitouni/cvt-native-backend: 1/2] build: check for cvt only when building the native backend (meson)
- Date: Sat, 10 Nov 2018 09:02:59 +0000 (UTC)
commit ea8106c082c97681ce31f250ff9f63109a6d6918
Author: Abderrahim Kitouni <akitouni gnome org>
Date: Sat Nov 10 09:25:57 2018 +0100
build: check for cvt only when building the native backend (meson)
src/meson.build | 18 +++++++++---------
1 file changed, 9 insertions(+), 9 deletions(-)
---
diff --git a/src/meson.build b/src/meson.build
index 4ea30b06d..1fa2b9ebe 100644
--- a/src/meson.build
+++ b/src/meson.build
@@ -581,6 +581,15 @@ dbus_idle_monitor_built_sources = gnome.gdbus_codegen('meta-dbus-idle-monitor',
mutter_built_sources += dbus_idle_monitor_built_sources
if have_native_backend
+ cvt = find_program('cvt')
+
+ gen_default_modes = find_program('backends/native/gen-default-modes.py')
+ default_modes_h = custom_target('meta-default-modes',
+ output: 'meta-default-modes.h',
+ command: [gen_default_modes, '@OUTPUT@']
+ )
+ mutter_built_sources += default_modes_h
+
gdbus_codegen = find_program('gdbus-codegen')
dbus_login1_built_sources = custom_target('meta-dbus-login1',
input: 'org.freedesktop.login1.xml',
@@ -617,15 +626,6 @@ if have_remote_desktop
mutter_built_sources += dbus_screen_cast_built_sources
endif
-cvt = find_program('cvt')
-
-gen_default_modes = find_program('backends/native/gen-default-modes.py')
-default_modes_h = custom_target('meta-default-modes',
- output: 'meta-default-modes.h',
- command: [gen_default_modes, '@OUTPUT@']
-)
-mutter_built_sources += default_modes_h
-
if have_wayland
# Format:
# - protocol name
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]