check for mangoapp_layer option for manifest
@@ -314,6 +314,7 @@ configure_file(input : '../bin/mangohud.in',
install_tag : 'scripts',
)
+if get_option('mangoapp_layer')
configure_file(input : 'app/layer.json.in',
output : 'libMangoApp.json',
configuration : {'ld_libdir_mangohud' : ld_libdir_mangohud_vk.replace('\$', '$')},
@@ -321,3 +322,4 @@ configure_file(input : 'app/layer.json.in',
install_dir : join_paths(get_option('datadir'), 'vulkan', 'implicit_layer.d'),
install_tag : 'mangoapp',
)
+endif
