I have Installed OpenVR through vcpkg and am trying to link it via CMAKE, the issue is that I don't know how to do it, nor can I find any info on how to.
Unlike other packages where once installed it tells you how to link via CMAKE by using find_package and target_link_libraries, OpenVR doesn't. I initially assumed that
find_package(openvr CONFIG REQUIRED)
target_link_libraries(${Proj_Name} PRIVATE openvr::openvr)
would work but instead I get the error
CMake Error at C:/dev/vcpkg/vcpkg/scripts/buildsystems/vcpkg.cmake:793 (_find_package):
Could not find a package configuration file provided by "openvr" with any
of the following names:
openvrConfig.cmake
openvr-config.cmake
Add the installation prefix of "openvr" to CMAKE_PREFIX_PATH or set
"openvr_DIR" to a directory containing one of the above files. If "openvr"
provides a separate development package or SDK, be sure it has been
installed.
Usually vcpkg.cmake provides CMAKE with the config.cmake files but not for OpenVR, so how do i link it properly?