Correct way to access GL on both Linux and MacOS #11554
-
Hi meson community, I have a problem: I have a repository that requires the GL dependency. I use GLEW to wrangle the extensions, so I have both dependencies Option 1: method
|
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 7 replies
-
You can check if host_machine.system() is Darwin and define Although I wonder why a brew-provided gl fails? Is it just incompatible with the way glew was configured? |
Beta Was this translation helpful? Give feedback.
You can check if host_machine.system() is Darwin and define
gl_method = 'system'
, then pass it to the dependency asmethod: gl_method
.Although I wonder why a brew-provided gl fails? Is it just incompatible with the way glew was configured?