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
wants to merge 1 commit into
base: master
Choose a base branch
from
Open

Fix build on *BSD #143

wants to merge 1 commit into from

Conversation

valpackett
Copy link

@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
@@ -62,11 +62,11 @@ if(NOT APPLE AND NOT WIN32)
# We need to work with older cmake -- pkg_check_modules was added in
# 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
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