Skip to content

Commit

Permalink
Merge pull request #1 from airalex/master
Browse files Browse the repository at this point in the history
Add brew, apt providers & move header references to shim
  • Loading branch information
colemancda authored May 14, 2017
2 parents 1b904ef + 6a8fb02 commit e5bae81
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 4 deletions.
6 changes: 4 additions & 2 deletions Package.swift
Original file line number Diff line number Diff line change
@@ -1,5 +1,7 @@
import PackageDescription

let package = Package(
name: "CFontConfig"
)
name: "CFontConfig",
pkgConfig: "fontconfig",
providers: [.Brew("fontconfig"), .Apt("fontconfig")]
)
4 changes: 2 additions & 2 deletions module.modulemap
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
module CFontConfig [system] {
header "/usr/include/fontconfig/fontconfig.h"
header "shim.h"
link "fontconfig"
export *
}
}
2 changes: 2 additions & 0 deletions shim.h
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
#include <fontconfig/fontconfig.h>
#include <fontconfig/fcfreetype.h>

0 comments on commit e5bae81

Please sign in to comment.