Skip to content

FindGLEW: Fix macOS support

Claudio requested to merge claudiofantacci/cmake:fix/applefindglew into master

In particular:

  • macOS is recognized as both UNIX and APPLE. Consequently, the library suffix for shared and static library was set, respectively, as .so and .a, just like UNIX system.

  • macOS requires OpenGL as INTERFACE_LINK_LIBRARIES dependency in the GLEW targets.

Fixes: #19542 (closed)
Topic-rename: FindGLEW-macOS

Edited by Brad King

Merge request reports