Skip to content

Conversation

@mleotta
Copy link

@mleotta mleotta commented Jan 23, 2019

This pullrequest changes

This change allows the freetype module to be built against external
libraries that are not found on the standard system path. I ran into
this issue building OpenCV on MacOS against freetype installed by
macports. CMake found the libraries at configure time but linking
failed at build time.

This change allows the freetype module to be built against external
libraries that are not found on the standard system path.  I ran into
this issue building OpenCV on MacOS against freetype installed by
macports.  CMake found the libraries at configure time but linking
failed at build time.
mleotta added a commit to mleotta/fletch that referenced this pull request Jan 23, 2019
This patch fixes build issues on MacOS with freetype from macports and
was already pushed upstream here:
opencv/opencv_contrib#1972
@alalek
Copy link
Member

alalek commented Jan 23, 2019

pkg_search_module(FREETYPE freetype2)

relates opencv/opencv#13534

@rrrapha
Copy link
Contributor

rrrapha commented Feb 20, 2019

I can confirm this fixes the linking issue on OpenBSD too.
(Tested with OpenCV 3.4.5)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants