[gnome-software/wip/mak/libas] build: Disable building libmalcontent-ui in subprojects



commit 0d4a51d2c8c685e60fa68b237b5300ec417cad00
Author: Philip Withnall <pwithnall endlessos org>
Date:   Wed Feb 10 14:56:38 2021 +0000

    build: Disable building libmalcontent-ui in subprojects
    
    When building malcontent as a subproject, there’s no need to build
    libmalcontent-ui, so don’t. This prunes the dependencies needed for it.
    
    Signed-off-by: Philip Withnall <pwithnall endlessos org>

 meson.build | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
---
diff --git a/meson.build b/meson.build
index bfac7a2e0..8a2c6c5e1 100644
--- a/meson.build
+++ b/meson.build
@@ -191,7 +191,7 @@ if get_option('flatpak')
 endif
 
 if get_option('malcontent')
-  malcontent = dependency('malcontent-0', version: '>= 0.3.0', fallback: ['malcontent', 
'libmalcontent_dep'],)
+  malcontent = dependency('malcontent-0', version: '>= 0.3.0', fallback: ['malcontent', 
'libmalcontent_dep'], default_options: ['-Dui=disabled'])
 endif
 
 if get_option('rpm_ostree')


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