OpenKinect / libfreenect

Drivers and libraries for the Xbox Kinect device on Windows, Linux, and OS X
http://openkinect.org
3.55k stars 1.15k forks source link

build(examples): modernize opengl imports to close #658 and close #661 #663

Closed piedar closed 1 year ago

piedar commented 1 year ago

Now cmake recommends IMPORTED targets for OpenGL and GLUT so switch to those for future compatibility. Also set(OpenGL_GL_PREFERENCE "GLVND") to silence warnings in case multiple OpenGL implementations are installed.