Skip to content

Add link directories for freetype - #1972

Closed
mleotta wants to merge 1 commit into
opencv:masterfrom
mleotta:freetype-link-dirs
Closed

mleotta wants to merge 1 commit into
opencv:masterfrom
mleotta:freetype-link-dirs

Conversation

@mleotta

@mleotta mleotta commented Jan 23, 2019

Copy link
Copy Markdown

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

alalek commented Jan 23, 2019

Copy link
Copy Markdown
Member

pkg_search_module(FREETYPE freetype2)

relates opencv/opencv#13534

@rrrapha

rrrapha commented Feb 20, 2019

Copy link
Copy Markdown
Contributor

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