We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 694deef commit d52b838Copy full SHA for d52b838
meson.build
@@ -97,7 +97,13 @@ endif
97
98
# Some dependencies are required only in maintainer mode and/or
99
# if documentation shall be built.
100
-mm_common_get = find_program('mm-common-get', required: maintainer_mode)
+mm_common_get = find_program('mm-common-get', required: false)
101
+
102
+if maintainer_mode and not mm_common_get.found()
103
+ error('Maintainer mode requires the \'mm-common-get\' command.\n' +
104
+ 'Use \'-Dmaintainer-mode=false\' or install the \'mm-common\' package, version 1.0.0 or higher')
105
+endif
106
107
perl = find_program('perl', required: build_documentation)
108
doxygen = find_program('doxygen', required: build_documentation)
109
dot = find_program('dot', required: build_documentation) # Used by Doxygen
0 commit comments