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




commit 8edf8bc72c1c04e62918686237d9ab8c0c3bc503
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]