Don't link against SDL2main

This commit is contained in:
ROllerozxa 2023-12-18 21:33:28 +01:00 committed by GitHub
parent 4e52d547b2
commit 34b47116a1
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -313,7 +313,7 @@ set(link_libs
"${ZLIB_LIBRARY}"
"${JPEG_LIBRARY}"
"${PNG_LIBRARY}"
"$<$<BOOL:${USE_SDL2}>:${SDL2_LIBRARIES}>"
"$<$<BOOL:${USE_SDL2}>:SDL2::SDL2>"
${OPENGL_LIBRARIES}
${OPENGLES_LIBRARY}