Allow the OpenVR driver to be enabled on Windows

This commit is contained in:
Sam Lantinga
2024-10-21 14:58:18 -07:00
parent 0aea14cf45
commit 7b492553c4
2 changed files with 5 additions and 1 deletions

View File

@@ -671,7 +671,9 @@ macro(CheckOpenVR)
sdl_glob_sources("${SDL3_SOURCE_DIR}/src/video/openvr/*.c")
set(SDL_VIDEO_DRIVER_OPENVR 1)
sdl_link_dependency(egl LIBS EGL)
if(NOT WINDOWS)
sdl_link_dependency(egl LIBS EGL)
endif()
endif()
endmacro()