Don't link against SDL2main (#265)

This commit is contained in:
ROllerozxa 2024-02-23 22:44:16 +01:00 committed by GitHub
parent 61682104df
commit 2bbfa178ea
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

@ -523,7 +523,7 @@ target_link_libraries(IrrlichtMt PRIVATE
${ZLIB_LIBRARY} ${ZLIB_LIBRARY}
${JPEG_LIBRARY} ${JPEG_LIBRARY}
${PNG_LIBRARY} ${PNG_LIBRARY}
"$<$<BOOL:${USE_SDL2}>:${SDL2_LIBRARIES}>" "$<$<BOOL:${USE_SDL2}>:SDL2::SDL2>"
"$<$<BOOL:${OPENGL_DIRECT_LINK}>:${OPENGL_LIBRARIES}>" "$<$<BOOL:${OPENGL_DIRECT_LINK}>:${OPENGL_LIBRARIES}>"
"$<$<BOOL:${OPENGLES_DIRECT_LINK}>:${OPENGLES_LIBRARY}>" "$<$<BOOL:${OPENGLES_DIRECT_LINK}>:${OPENGLES_LIBRARY}>"