mirror of
https://github.com/rad4day/Waybar.git
synced 2023-12-21 10:22:59 +01:00
even simpler check
This commit is contained in:
parent
ebbdaa168c
commit
0637888460
@ -83,11 +83,9 @@ if dbusmenu_gtk.found()
|
|||||||
)
|
)
|
||||||
endif
|
endif
|
||||||
|
|
||||||
test_fs = '''#include <filesystem>
|
|
||||||
int main(void){}'''
|
|
||||||
compiler = meson.get_compiler('cpp')
|
compiler = meson.get_compiler('cpp')
|
||||||
|
|
||||||
if not compiler.compiles(test_fs, name : 'is filesystem still in experimental?')
|
if not compiler.has_header('filesystem')
|
||||||
add_project_arguments('-DFILESYSTEM_EXPERIMENTAL', language: 'cpp')
|
add_project_arguments('-DFILESYSTEM_EXPERIMENTAL', language: 'cpp')
|
||||||
endif
|
endif
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user