Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions meson_options.txt
Original file line number Diff line number Diff line change
Expand Up @@ -9,4 +9,5 @@ option('enable_gamescope_wsi_layer', type : 'boolean', value : true, description
option('enable_openvr_support', type : 'boolean', value : true, description: 'OpenVR Integrations')
option('enable_tests', type : 'boolean', value : true, description: 'Build unit tests')
option('enable_zenity', type : 'boolean', value : true, description: 'Build with zenity support in the WSI layers error handling')
option('system_spirv_headers', type : 'boolean', value : false, description: 'Use system SPIR-V headers instead of bundled ones')
option('benchmark', type: 'feature', description: 'Benchmark tools')
7 changes: 6 additions & 1 deletion src/meson.build
Original file line number Diff line number Diff line change
Expand Up @@ -87,10 +87,15 @@ reshade_src = [
'reshade/source/effect_symbol_table.cpp',
]

spirv_include_path = '../thirdparty/SPIRV-Headers/include/spirv/unified1'
if get_option('system_spirv_headers')
spirv_include_path = '/usr/include/spirv/unified1'
endif

reshade_include = include_directories([
'reshade/source',
'reshade/include',
'../thirdparty/SPIRV-Headers/include/spirv/unified1'
spirv_include_path
])

sol2_include = include_directories(['../thirdparty'])
Expand Down
Loading