diff options
author | Claudio Fantacci <claudio.fantacci@gmail.com> | 2019-03-13 17:03:25 (GMT) |
---|---|---|
committer | Brad King <brad.king@kitware.com> | 2019-03-15 15:22:32 (GMT) |
commit | a77a30e657acea42787b22e88f84fa829b6234d0 (patch) | |
tree | 1772cbf31decf105a509f36ded9d4c723dc9a515 /Tests/FindGLEW/Test/main.cpp | |
parent | a7d853868b147d9051c40564f2b3e445011b888b (diff) | |
download | CMake-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.cpp | 8 |
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); +} |