[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:
parent
45dfa3a481
commit
ca96274936
|
@ -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)
|
||||||
|
|
Loading…
Reference in New Issue