Skip to content

Commit

Permalink
Only use system OpenVR if it's at least version 2
Browse files Browse the repository at this point in the history
  • Loading branch information
ajoneil authored and misyltoad committed Feb 27, 2024
1 parent a5d853a commit a5ad6e3
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion meson.build
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,7 @@ dep_wayland = dependency('wayland-client')
vulkan_dep = dependency('vulkan')

if get_option('enable_openvr_support')
openvr_dep = dependency('openvr', required : false)
openvr_dep = dependency('openvr', version: '>= 2', required : false)
if not openvr_dep.found()
cmake = import('cmake')
openvr_var = cmake.subproject_options()
Expand Down

0 comments on commit a5ad6e3

Please sign in to comment.