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




commit 7d39d62e8b52af607a2d6bba3d36a900cf93142b
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]