mirror of
https://github.com/flightlessmango/MangoHud.git
synced 2024-11-16 00:13:00 +00:00
meson options: notify
This commit is contained in:
parent
a51d60a5d1
commit
ed8b08c676
@ -12,3 +12,4 @@ option('mangoapp', type: 'boolean', value : false)
|
||||
option('mangohudctl', type: 'boolean', value : false)
|
||||
option('mangoapp_layer', type: 'boolean', value : false)
|
||||
option('tests', type: 'feature', value: 'auto', description: 'Run tests')
|
||||
option('with_notify', type: 'feature', value: 'enabled')
|
||||
|
@ -76,7 +76,6 @@ if is_unixy or cpp.get_id() == 'emscripten'
|
||||
'cpu.cpp',
|
||||
'memory.cpp',
|
||||
'iostats.cpp',
|
||||
'notify.cpp',
|
||||
'elfhacks.cpp',
|
||||
'real_dlsym.cpp',
|
||||
'pci_ids.cpp',
|
||||
@ -87,6 +86,10 @@ if is_unixy or cpp.get_id() == 'emscripten'
|
||||
'intel.cpp'
|
||||
)
|
||||
|
||||
if get_option('with_notify').enabled()
|
||||
vklayer_files += 'notify.cpp'
|
||||
endif
|
||||
|
||||
opengl_files = files(
|
||||
'gl/glad.c',
|
||||
'gl/gl_renderer.cpp',
|
||||
|
Loading…
Reference in New Issue
Block a user