From 2bbfa178ea798ba56e8e90477c80cfbe8357a71a Mon Sep 17 00:00:00 2001 From: ROllerozxa Date: Fri, 23 Feb 2024 22:44:16 +0100 Subject: [PATCH] Don't link against SDL2main (#265) --- source/Irrlicht/CMakeLists.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/source/Irrlicht/CMakeLists.txt b/source/Irrlicht/CMakeLists.txt index 52c7553..743dd1d 100644 --- a/source/Irrlicht/CMakeLists.txt +++ b/source/Irrlicht/CMakeLists.txt @@ -523,7 +523,7 @@ target_link_libraries(IrrlichtMt PRIVATE ${ZLIB_LIBRARY} ${JPEG_LIBRARY} ${PNG_LIBRARY} - "$<$:${SDL2_LIBRARIES}>" + "$<$:SDL2::SDL2>" "$<$:${OPENGL_LIBRARIES}>" "$<$:${OPENGLES_LIBRARY}>"