Make all EGL functions dynamically loaded

This commit is contained in:
Camilla Berglund
2015-08-24 16:39:01 +02:00
parent afe4aadade
commit 7e13a4909e
4 changed files with 187 additions and 42 deletions
+5
View File
@@ -402,6 +402,11 @@ if (_GLFW_EGL)
list(APPEND glfw_PKG_DEPS "glesv2")
endif()
if (CMAKE_DL_LIBS)
list(APPEND glfw_LIBRARIES "${CMAKE_DL_LIBS}")
list(APPEND glfw_PKG_LIBS "-l${CMAKE_DL_LIBS}")
endif()
endif()
#--------------------------------------------------------------------