Skip to content

Commit dd1b3ca

Browse files
committed
[cmake] fix definition to use SDL3
1 parent 1415ef5 commit dd1b3ca

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

cmake/LibraryConfigurations.cmake

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -104,7 +104,7 @@ elseif ("${PLATFORM}" MATCHES "SDL")
104104
# First, check if SDL is included as a subdirectory
105105
if(TARGET SDL3::SDL3)
106106
message(STATUS "Using SDL3 from subdirectory")
107-
set(PLATFORM_CPP "PLATFORM_DESKTOP_SDL")
107+
set(PLATFORM_CPP "PLATFORM_DESKTOP_SDL3")
108108
set(LIBS_PRIVATE SDL3::SDL3)
109109
add_compile_definitions(USING_SDL3_PROJECT)
110110
elseif(TARGET SDL2::SDL2)

0 commit comments

Comments
 (0)