This commit is contained in:
2025-11-11 22:49:06 -05:00
parent 7de716a6f2
commit 57b2e3aa4c

View File

@@ -158,7 +158,11 @@ if (WIN32)
setupapi setupapi
legacy_stdio_definitions legacy_stdio_definitions
) )
set(SDL_MAIN_TARGET SDL3::SDL3main) if (TARGET SDL3::SDL3main)
set(SDL_MAIN_TARGET SDL3::SDL3main)
else ()
set(SDL_MAIN_TARGET)
endif ()
else () else ()
set(OPENGL_LIB GL) set(OPENGL_LIB GL)
set(PLATFORM_LIBS) set(PLATFORM_LIBS)