OpenVR detection at build time
Hi,
The CMake file for detecting OpenVR is a bit outdated. OpenVR now provides a pkg-config file when packaged by distros, so that should be tried through pkg_check_modules(OPENVR openvr IMPORTED_TARGET GLOBAL)
(and then link to PkgConfig::OPENVR
) before resorting to path detection.
Regards.