diff options
author | Nikolaus Rath <Nikolaus@rath.org> | 2017-08-03 13:44:32 +0200 |
---|---|---|
committer | Nikolaus Rath <Nikolaus@rath.org> | 2017-08-03 13:44:32 +0200 |
commit | 430661d2210b213bfb03b3ee555b88a9e37653e7 (patch) | |
tree | 7b34b09fa3096c058f6da9312ae1fa3289dce6e0 /meson.build | |
parent | 1243beff209eebadc917700e34542e3d12702120 (diff) |
Produce more helpful message on OS-X and Windows.
Fixes: #186.
Diffstat (limited to 'meson.build')
-rw-r--r-- | meson.build | 10 |
1 files changed, 10 insertions, 0 deletions
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 # |