Skip to content

dependency glad should be declared in CMakeLists.txt #246

@milahu

Description

@milahu

when /usr/include/glad/glad.h is not installed (for example on nixos), cmake fails with

[ 50%] Building C object CMakeFiles/freetype-gl.dir/texture-atlas.c.o
In file included from /build/freetype-gl/text-buffer.c:12:
/build/freetype-gl/opengl.h:10:13: fatal error: glad/glad.h: No such file or directory
   10 | #   include <glad/glad.h>
      |             ^~~~~~~~~~~~~
compilation terminated.

see conan-io/conan#8875

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions