summaryrefslogtreecommitdiffstats
path: root/Tests/FindGLEW/Test/main.cpp
diff options
context:
space:
mode:
authorClaudio Fantacci <claudio.fantacci@gmail.com>2019-03-13 17:03:25 (GMT)
committerBrad King <brad.king@kitware.com>2019-03-15 15:22:32 (GMT)
commita77a30e657acea42787b22e88f84fa829b6234d0 (patch)
tree1772cbf31decf105a509f36ded9d4c723dc9a515 /Tests/FindGLEW/Test/main.cpp
parenta7d853868b147d9051c40564f2b3e445011b888b (diff)
downloadCMake-a77a30e657acea42787b22e88f84fa829b6234d0.zip
CMake-a77a30e657acea42787b22e88f84fa829b6234d0.tar.gz
CMake-a77a30e657acea42787b22e88f84fa829b6234d0.tar.bz2
FindGLEW: Add test
Diffstat (limited to 'Tests/FindGLEW/Test/main.cpp')
-rw-r--r--Tests/FindGLEW/Test/main.cpp8
1 files changed, 8 insertions, 0 deletions
diff --git a/Tests/FindGLEW/Test/main.cpp b/Tests/FindGLEW/Test/main.cpp
new file mode 100644
index 0000000..4a108ad
--- /dev/null
+++ b/Tests/FindGLEW/Test/main.cpp
@@ -0,0 +1,8 @@
+#include <GL/glew.h>
+
+int main()
+{
+ GLenum init_return = glewInit();
+
+ return (init_return == GLEW_OK);
+}