[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 set(LIBS videocommon
SOIL SOIL
common common
dl
${X11_LIBRARIES}) ${X11_LIBRARIES})
if(USE_EGL) if(USE_EGL)
set(LIBS ${LIBS} set(LIBS ${LIBS}
EGL) EGL)
endif() endif()
if(USE_GLES3)
set(LIBS ${LIBS}
GLESv2)
else()
set(LIBS ${LIBS}
${OPENGL_LIBRARIES})
endif()
if(wxWidgets_FOUND) if(wxWidgets_FOUND)
set(LIBS ${LIBS} ${wxWidgets_LIBRARIES}) set(LIBS ${LIBS} ${wxWidgets_LIBRARIES})
endif(wxWidgets_FOUND) endif(wxWidgets_FOUND)