summaryrefslogtreecommitdiffstats
path: root/config.tests/unix/opengles31/opengles31.pro
diff options
context:
space:
mode:
Diffstat (limited to 'config.tests/unix/opengles31/opengles31.pro')
-rw-r--r--config.tests/unix/opengles31/opengles31.pro13
1 files changed, 13 insertions, 0 deletions
diff --git a/config.tests/unix/opengles31/opengles31.pro b/config.tests/unix/opengles31/opengles31.pro
new file mode 100644
index 0000000000..1df9cedfcd
--- /dev/null
+++ b/config.tests/unix/opengles31/opengles31.pro
@@ -0,0 +1,13 @@
+# The library is expected to be the same as in ES 2.0 (libGLESv2).
+# The difference is the header and the presence of the functions in
+# the library.
+
+SOURCES = opengles31.cpp
+INCLUDEPATH += $$QMAKE_INCDIR_OPENGL_ES2
+
+for(p, QMAKE_LIBDIR_OPENGL_ES2) {
+ exists($$p):LIBS += -L$$p
+}
+
+CONFIG -= qt
+LIBS += $$QMAKE_LIBS_OPENGL_ES2