Skip to content

Conversation

@jonahjnewton
Copy link

ReleaseNote

Compatibility (major, minor, patch, build)

build

Jira ticket

None

Release Notes Comment:

When building with freetype2 installed via the MacOS build-deps build dependencies, CMake finds freetype2/ft2build.h in the installs/include folder, but does not know where to look for freetype2/freetype/freetype.h. As such, we need to find this header's folder as an include dir, and then also add the parent freetype2 folder as an include dir. From the comment in the file, it seems like this is what was intended, but is not currently how FindFreeType.cmake is set up.

##Look or Scene Setup Change
No

Reviewers

@jlanz

Pull request comments

When building with freetype2 installed through the MacOS openmoonray build-deps, CMake finds freetype2/ft2build.h in the installs/include folder, but does not know where to look for freetype2/freetype/freetype.h. As such, we need to find this header, and then also add the freetype2 folder as an include directory as well. From the comment in the file, it seems like this is what was intended, but is not currently how FindFreeType.cmake is set up.

Signed-off-by: Jonah Newton <jonah@jonahnewton.com.au>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant