[GLExtensions] Make sure to link against libdl since we use it to grab GL function pointers in Linux/Android in the case the GLInterface->GetProcAddress fails.

This commit is contained in:
Ryan Houdek 2014-01-01 20:57:15 -06:00 committed by degasus
parent 45dfa3a481
commit ca96274936
1 changed files with 1 additions and 8 deletions

View File

@ -17,20 +17,13 @@ set(SRCS GLExtensions/GLExtensions.cpp
set(LIBS videocommon
SOIL
common
dl
${X11_LIBRARIES})
if(USE_EGL)
set(LIBS ${LIBS}
EGL)
endif()
if(USE_GLES3)
set(LIBS ${LIBS}
GLESv2)
else()
set(LIBS ${LIBS}
${OPENGL_LIBRARIES})
endif()
if(wxWidgets_FOUND)
set(LIBS ${LIBS} ${wxWidgets_LIBRARIES})
endif(wxWidgets_FOUND)