Files
CMake/Tests/FindGLUT/Test/main.c
Christopher Degawa bece79f9be Tests: Add case covering FindGLUT variables and imported targets
Signed-off-by: Christopher Degawa <ccom@randomderp.com>
2021-07-02 13:33:18 -05:00

12 lines
253 B
C

#include <GL/glut.h>
#include <stdio.h>
int main()
{
/* The following should call exit(1) and print
freeglut ERROR: Function <glutCreateWindow> called
without first calling 'glutInit'.
to stderr */
glutCreateWindow("gluttest");
}