summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChun-wei Fan <fanchunwei@src.gnome.org>2021-10-20 14:55:18 +0800
committerChun-wei Fan <fanchunwei@src.gnome.org>2021-10-20 14:55:18 +0800
commitbeed3a05f77654cde82ab1d9cfef335c702525d8 (patch)
treed30466146b2da22185cdc78d51a8bfa2da98b25b
parentb377845cf3bb07c9296db779311db978876d0b4b (diff)
downloadclutter-beed3a05f77654cde82ab1d9cfef335c702525d8.tar.gz
clutter/meson.build: Fill in win32 config
We forgot to put into clutter-config.h the Windows items, which means that we would actually build the Win32 parts in vain.
-rw-r--r--clutter/meson.build6
1 files changed, 6 insertions, 0 deletions
diff --git a/clutter/meson.build b/clutter/meson.build
index 68cd5f1a6..0c34638a9 100644
--- a/clutter/meson.build
+++ b/clutter/meson.build
@@ -365,6 +365,12 @@ if enabled_backends.contains('mir')
'#define CLUTTER_INPUT_MIR "mir"',
]
endif
+if enabled_backends.contains('win32')
+ clutter_config += [
+ '#define CLUTTER_WINDOWING_WIN32 "win32"',
+ '#define CLUTTER_INPUT_WIN32 "win32"',
+ ]
+endif
clutter_config += '#define CLUTTER_INPUT_NULL "null"'
clutter_config_h = configuration_data()