Skip to content

Commit 5760f95

Browse files
committed
meson: State clearly maintainer mode is not supported for MSVC
Instead of showing that 'mm-common-get' is not found, just state clearly that maintainer mode is not supported for Visual Studio builds at all.
1 parent 8799330 commit 5760f95

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

meson.build

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -71,6 +71,10 @@ build_documentation = build_documentation_opt == 'true' or \
7171
build_examples = get_option('build-examples')
7272
do_benchmark = get_option('benchmark')
7373

74+
if is_msvc and maintainer_mode
75+
error('Maintainer mode is not supported for Visual Studio builds.\nUse \'-Dmaintainer-mode=false\' to disable')
76+
endif
77+
7478
# Installation directories are relative to {prefix}.
7579
install_prefix = get_option('prefix')
7680
install_includedir = get_option('includedir')

0 commit comments

Comments
 (0)
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy