[cmake] fix definition to use SDL3
This commit is contained in:
parent
39491a2178
commit
2f47f5721d
|
|
@ -104,7 +104,7 @@ elseif ("${PLATFORM}" MATCHES "SDL")
|
|||
# First, check if SDL is included as a subdirectory
|
||||
if(TARGET SDL3::SDL3)
|
||||
message(STATUS "Using SDL3 from subdirectory")
|
||||
set(PLATFORM_CPP "PLATFORM_DESKTOP_SDL")
|
||||
set(PLATFORM_CPP "PLATFORM_DESKTOP_SDL3")
|
||||
set(LIBS_PRIVATE SDL3::SDL3)
|
||||
add_compile_definitions(USING_SDL3_PROJECT)
|
||||
elseif(TARGET SDL2::SDL2)
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user