Use correct linker flags for SDL.

This commit is contained in:
Scott Moreau 2012-08-28 03:35:31 -06:00
parent 90af798d3d
commit 6773261a85

View File

@ -13,11 +13,11 @@ set(LIBS core
${X11_LIBRARIES}) ${X11_LIBRARIES})
if(SDL2_FOUND) if(SDL2_FOUND)
set(LIBS ${LIBS} SDL2) set(LIBS ${LIBS} ${SDL2_LIBRARY})
endif() endif()
if(SDL_FOUND) if(SDL_FOUND)
set(LIBS ${LIBS} SDL) set(LIBS ${LIBS} ${SDL_LIBRARY})
endif() endif()
if(LIBAV_FOUND) if(LIBAV_FOUND)