diff --git a/src/CMakeLists.txt b/src/CMakeLists.txt index 04995314..d8250ae6 100644 --- a/src/CMakeLists.txt +++ b/src/CMakeLists.txt @@ -126,7 +126,7 @@ if (ENABLE_OGLRENDERER) elseif (APPLE) target_link_libraries(core ${EPOXY_LIBRARIES}) else() - target_link_libraries(core rt GLESv2) + target_link_libraries(core rt ${EPOXY_LIBRARIES}) endif() else() if (WIN32) diff --git a/src/OpenGLSupport.h b/src/OpenGLSupport.h index bc62bf0f..cbbb34e1 100644 --- a/src/OpenGLSupport.h +++ b/src/OpenGLSupport.h @@ -22,7 +22,7 @@ #include #include -#include +#include #include "Platform.h"