From 430661d2210b213bfb03b3ee555b88a9e37653e7 Mon Sep 17 00:00:00 2001 From: Nikolaus Rath Date: Thu, 3 Aug 2017 13:44:32 +0200 Subject: [PATCH] Produce more helpful message on OS-X and Windows. Fixes: #186. --- meson.build | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/meson.build b/meson.build index 7b12631..0e1eb0a 100644 --- a/meson.build +++ b/meson.build @@ -2,6 +2,16 @@ project('libfuse3', 'c', version: '3.1.0', meson_version: '>= 0.38', default_options: [ 'buildtype=plain' ]) + +platform = host_machine.system() +if platform == 'darwin' + error('libfuse does not support OS-X.\n' + + 'Take a look at http://osxfuse.github.io/ instead') +elif platform == 'cygwin' or platform == 'windows' + error('libfuse does not support Windows.\n' + + 'Take a look at http://www.secfs.net/winfsp/ instead') +endif + # # Feature detection # -- 2.30.2