[gtk/wip.win32.fixes: 21/23] docs: Only build doc-shooter when X11 is enabled




commit 4395a26d9e7c0e4e4a8671f9859eec4284aad379
Author: Chun-wei Fan <fanchunwei src gnome org>
Date:   Mon Feb 14 11:21:59 2022 +0800

    docs: Only build doc-shooter when X11 is enabled
    
    It currently depends on X11 items to build.

 docs/tools/meson.build | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
---
diff --git a/docs/tools/meson.build b/docs/tools/meson.build
index d9a9afb359..cf93483356 100644
--- a/docs/tools/meson.build
+++ b/docs/tools/meson.build
@@ -1,4 +1,4 @@
-if get_option('gtk_doc')
+if get_option('gtk_doc') and x11_enabled
   doc_shooter_resources = gnome.compile_resources('shooter_resources',
                                                   'shooter.gresource.xml',
                                                   source_dir: '.')


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]