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})
if(SDL2_FOUND)
set(LIBS ${LIBS} SDL2)
set(LIBS ${LIBS} ${SDL2_LIBRARY})
endif()
if(SDL_FOUND)
set(LIBS ${LIBS} SDL)
set(LIBS ${LIBS} ${SDL_LIBRARY})
endif()
if(LIBAV_FOUND)