Skip to content

Commit

Permalink
FindOpenVR: update find_ calls to find the actual files
Browse files Browse the repository at this point in the history
OpenVR changes things around sometimes it seems.
  • Loading branch information
mathstuf committed Feb 3, 2021
1 parent d183ccb commit b086e25
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions CMake/FindOpenVR.cmake
Expand Up @@ -24,8 +24,9 @@ endif ()

find_path(OpenVR_INCLUDE_DIR
NAMES
openvr_driver.h
openvr.h
PATH_SUFFIXES
openvr
headers
public/headers
steam
Expand All @@ -34,7 +35,7 @@ find_path(OpenVR_INCLUDE_DIR
mark_as_advanced(OpenVR_INCLUDE_DIR)

find_library(OpenVR_LIBRARY
NAMES openvr_api
NAMES openvr_api64 openvr_api
PATH_SUFFIXES
"${OpenVR_PLATFORM}"
"bin/${OpenVR_PLATFORM}"
Expand Down

0 comments on commit b086e25

Please sign in to comment.