Skip to content

CMakelists.txt fix for Freetype builds #518

@roxlu

Description

@roxlu

Instead of searching for freetype using pkg-config, use the FindFreetype feature of CMake. This allows for better integration with other projects that make use of CMake.

I've created a patch here https://gist.github.com/roxlu/0108d45308a0434e27d4320396399153#file-harfbuzz_freetype_fix-patch

You can clone that gist and compile it using the cmake_build.sh script. Tested on Windows (in Git Bash) and on OSX.

  • I haven't marked the include directories as advanced in the CMakelists.txt.

Metadata

Metadata

Assignees

No one assigned

    Labels

    CMakeCMake related issues

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions