PixarAnimationStudios / OpenSubdiv

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

Fixed cmake/FindOpenCL.cmake version parsing #1322

Closed davidgyu closed 11 months ago

davidgyu commented 12 months ago

Current versions of the OpenCL headers define several version macros and we want to make sure to parse just the main version macro.

This is a simple near-term fix, since we'd like to move to the standard CMake FindOpenCL module and delete this custom module.

davidgyu commented 11 months ago

Reviewed internally.