Fix enabling of freetype feature

This commit is contained in:
dbr 2021-06-18 12:29:37 +10:00
parent 7808164911
commit 4882a1f29d

View File

@ -49,7 +49,7 @@ fn main() -> io::Result<()> {
}
// Freetype font rasterizer feature
#[cfg(feature = "feature")]
#[cfg(feature = "freetype")]
{
let freetype = pkg_config::Config::new().find("freetype2").unwrap();
for include in freetype.include_paths.iter() {