mirror of
https://github.com/rad4day/Waybar.git
synced 2023-12-21 10:22:59 +01:00
automatically detect where filesystem lives
This commit is contained in:
parent
236be90c2f
commit
ebbdaa168c
@ -83,7 +83,11 @@ if dbusmenu_gtk.found()
|
||||
)
|
||||
endif
|
||||
|
||||
if get_option('filesystem-experimental')
|
||||
test_fs = '''#include <filesystem>
|
||||
int main(void){}'''
|
||||
compiler = meson.get_compiler('cpp')
|
||||
|
||||
if not compiler.compiles(test_fs, name : 'is filesystem still in experimental?')
|
||||
add_project_arguments('-DFILESYSTEM_EXPERIMENTAL', language: 'cpp')
|
||||
endif
|
||||
|
||||
|
@ -2,4 +2,3 @@ option('libnl', type: 'feature', value: 'auto', description: 'Enable libnl suppo
|
||||
option('pulseaudio', type: 'feature', value: 'auto', description: 'Enable support for pulseaudio')
|
||||
option('dbusmenu-gtk', type: 'feature', value: 'auto', description: 'Enable support for tray')
|
||||
option('out', type: 'string', value : '/', description: 'output prefix directory')
|
||||
option('filesystem-experimental', type: 'boolean', value: 'true', description: 'Does filesystem still live in experimental?')
|
||||
|
Loading…
Reference in New Issue
Block a user