PixarAnimationStudios / OpenSubdiv

An Open-Source subdivision surface library.
graphics.pixar.com/opensubdiv
Other
2.88k stars 558 forks source link

Fixed example dependencies with CUDA on Linux #1304

Closed davidgyu closed 1 year ago

davidgyu commented 1 year ago

Added an explicit target link dependency for OpenGL::GLX when building example programs with CUDA on systems with GLX since GLX is used by the example code used to initialize the CUDA device context.

This is a simple workaround and we'd like to revisit and improve how target dependencies are handled overall.

Fixes #1294