summaryrefslogtreecommitdiffstats
path: root/config.tests/x11/opengl/opengl.pro
diff options
context:
space:
mode:
Diffstat (limited to 'config.tests/x11/opengl/opengl.pro')
-rw-r--r--config.tests/x11/opengl/opengl.pro11
1 files changed, 11 insertions, 0 deletions
diff --git a/config.tests/x11/opengl/opengl.pro b/config.tests/x11/opengl/opengl.pro
new file mode 100644
index 0000000000..5c3a1c50cb
--- /dev/null
+++ b/config.tests/x11/opengl/opengl.pro
@@ -0,0 +1,11 @@
+SOURCES = opengl.cpp
+CONFIG += x11
+INCLUDEPATH += $$QMAKE_INCDIR_OPENGL
+
+for(p, QMAKE_LIBDIR_OPENGL) {
+ exists($$p):LIBS += -L$$p
+}
+
+CONFIG -= qt
+win32-g++*:LIBS += -lopengl32
+else:LIBS += -lGL