diff options
author | Albert Astals Cid <albert.astals.cid@kdab.com> | 2019-02-11 16:42:51 +0100 |
---|---|---|
committer | Albert Astals Cid <albert.astals.cid@kdab.com> | 2019-02-11 16:13:58 +0000 |
commit | 6a2577e04be804585b1f103f6b0878ff88a8dcc9 (patch) | |
tree | ca991ee18f4215c648c9a4619571f09b3d957c6b | |
parent | 5ad3803defbfbf0ad7fbf62eac35844a1e5ef566 (diff) |
cmake: don't die when running on macOS
still same result for me on Linux
Change-Id: Icb74ffc5989c0b96f069f6ec33c2a707e012414b
Reviewed-by: Liang Qi <liang.qi@qt.io>
-rw-r--r-- | src/gui/configure.cmake | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/gui/configure.cmake b/src/gui/configure.cmake index 162e00ed1d..98eb8bba9d 100644 --- a/src/gui/configure.cmake +++ b/src/gui/configure.cmake @@ -373,7 +373,7 @@ ioctl(fd, FBIOGET_VSCREENINFO, &vinfo); # opengles3 qt_config_compile_test(opengles3 LABEL "OpenGL ES 3.0" - LIBRARIES OpenGL::OpenGL + LIBRARIES OpenGL::GL CODE "#ifdef __APPLE__ # include <OpenGLES/ES3/gl.h> @@ -400,7 +400,7 @@ glMapBufferRange(GL_ARRAY_BUFFER, 0, 0, GL_MAP_READ_BIT); # opengles31 qt_config_compile_test(opengles31 LABEL "OpenGL ES 3.1" - LIBRARIES OpenGL::OpenGL + LIBRARIES OpenGL::GL CODE " #include <GLES3/gl31.h> |