build: fix openvr dependency name

Signed-off-by: Sefa Eyeoglu <contact@scrumplex.net>
This commit is contained in:
Sefa Eyeoglu 2023-03-04 18:52:27 +01:00 committed by Joshie
parent 3df0a99cca
commit 557e56bade

View file

@ -36,7 +36,7 @@ dep_x11 = dependency('x11')
vulkan_dep = dependency('vulkan') vulkan_dep = dependency('vulkan')
if get_option('enable_openvr_support') if get_option('enable_openvr_support')
openvr_dep = dependency('openvr_api', required : false) openvr_dep = dependency('openvr', required : false)
if not openvr_dep.found() if not openvr_dep.found()
cmake = import('cmake') cmake = import('cmake')
openvr_var = cmake.subproject_options() openvr_var = cmake.subproject_options()