mirror of
https://github.com/libsdl-org/SDL.git
synced 2026-03-20 15:51:07 +01:00
Allow the OpenVR driver to be enabled on Windows
This commit is contained in:
@@ -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()
|
||||
|
||||
|
||||
Reference in New Issue
Block a user