summaryrefslogtreecommitdiffstats
path: root/cmake/3rdparty
diff options
context:
space:
mode:
Diffstat (limited to 'cmake/3rdparty')
-rw-r--r--cmake/3rdparty/extra-cmake-modules/find-modules/FindEGL.cmake2
1 files changed, 1 insertions, 1 deletions
diff --git a/cmake/3rdparty/extra-cmake-modules/find-modules/FindEGL.cmake b/cmake/3rdparty/extra-cmake-modules/find-modules/FindEGL.cmake
index 16dc1768ea..a3573bacd4 100644
--- a/cmake/3rdparty/extra-cmake-modules/find-modules/FindEGL.cmake
+++ b/cmake/3rdparty/extra-cmake-modules/find-modules/FindEGL.cmake
@@ -123,7 +123,7 @@ list(APPEND CMAKE_REQUIRED_DEFINITIONS "${EGL_DEFINITIONS}")
check_cxx_source_compiles("
#include <EGL/egl.h>
-int main(int argc, char *argv[]) {
+int main(int, char **) {
EGLint x = 0; EGLDisplay dpy = 0; EGLContext ctx = 0;
eglDestroyContext(dpy, ctx);
}" HAVE_EGL)