From 34b47116a114c8db4e9b8e5bdb0838a70764f7b8 Mon Sep 17 00:00:00 2001 From: ROllerozxa Date: Mon, 18 Dec 2023 21:33:28 +0100 Subject: [PATCH] Don't link against SDL2main --- 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 36b102f0..aa50e806 100644 --- a/source/Irrlicht/CMakeLists.txt +++ b/source/Irrlicht/CMakeLists.txt @@ -313,7 +313,7 @@ set(link_libs "${ZLIB_LIBRARY}" "${JPEG_LIBRARY}" "${PNG_LIBRARY}" - "$<$:${SDL2_LIBRARIES}>" + "$<$:SDL2::SDL2>" ${OPENGL_LIBRARIES} ${OPENGLES_LIBRARY}