Skip to content
This repository was archived by the owner on Jun 8, 2020. It is now read-only.

Fix build on *BSD#143

Open
valpackett wants to merge 1 commit intoservo:masterfrom
valpackett:master
Open

Fix build on *BSD#143
valpackett wants to merge 1 commit intoservo:masterfrom
valpackett:master

Conversation

@valpackett
Copy link
Copy Markdown

@valpackett valpackett commented Oct 3, 2017

(is there a better place for pkg-config fontconfig than adding it directly to freetype2's pkg-config call?)


This change is Reviewable

CMakeLists.txt Outdated
# a version of cmake newer than what Ubuntu 14.04 LTS ships with.
#pkg_check_modules(FREETYPE REQUIRED freetype2)
EXEC_PROGRAM(pkg-config ARGS --cflags freetype2 OUTPUT_VARIABLE FREETYPE_CFLAGS RESULT_VARIABLE FREETYPE_NOT_FOUND)
EXEC_PROGRAM(pkg-config ARGS --cflags freetype2 fontconfig OUTPUT_VARIABLE FREETYPE_CFLAGS RESULT_VARIABLE FREETYPE_NOT_FOUND)
Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Yes, let's add a FONTCONFIG_CFLAGS, etc, instead of this.

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

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants