Dav1dde / glad

Multi-Language Vulkan/GL/GLES/EGL/GLX/WGL Loader-Generator based on the official specs.
https://glad.dav1d.de/
Other
3.79k stars 448 forks source link

GLAD_DIRECTORY vs. GLAD_DIR #392

Closed Destranix closed 10 months ago

Destranix commented 2 years ago

https://github.com/Dav1dde/glad/blob/f237a2bfcec0d9b82b90ec9af4af265c40de7183/cmake/CMakeLists.txt#L186

Is there a difference between GLAD_DIRECTORY and GLAD_DIR and why is GLAD_DIRECTORY created on the linked line and not GLAD_DIR though GLAD_DIR is the non-existing directory?

Dav1dde commented 2 years ago

This looks like a bug