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 447 forks source link

Fix: Use include instead of find_package for CMake config #457

Closed spnda closed 8 months ago

spnda commented 8 months ago

As discussed in #453.

Dav1dde commented 8 months ago

Thanks for looking into this.

@cNoNim you don't see any issues with that change, right?

cNoNim commented 8 months ago

Yeah, I think my PR was a regression.

cNoNim commented 8 months ago

@Dav1dde maybe we should simplify the instructions? Looks like it's enough:

# Path to glad cmake files
add_subdirectory("${PROJECT_SOURCE_DIR}/external/glad/cmake" glad_cmake)
Dav1dde commented 8 months ago

@Dav1dde maybe we should simplify the instructions?

Which instructions?