mirror of
https://github.com/aap/librw.git
synced 2026-04-20 05:23:21 +01:00
Add SDL3 backend
This commit is contained in:
@@ -1,6 +1,7 @@
|
||||
add_library(librw_skeleton
|
||||
glfw.cpp
|
||||
sdl2.cpp
|
||||
sdl3.cpp
|
||||
skeleton.cpp
|
||||
skeleton.h
|
||||
win.cpp
|
||||
@@ -38,7 +39,7 @@ target_link_libraries(librw_skeleton
|
||||
librw
|
||||
)
|
||||
|
||||
if (LIBRW_GL3_GFXLIB STREQUAL "SDL2")
|
||||
if (LIBRW_GL3_GFXLIB MATCHES "SDL[23]")
|
||||
target_compile_definitions(librw_skeleton PRIVATE SDL_MAIN_HANDLED)
|
||||
endif()
|
||||
|
||||
|
||||
Reference in New Issue
Block a user