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}