Skip to content

Commit

Permalink
Merge freetype change into this branch
Browse files Browse the repository at this point in the history
  • Loading branch information
johnwparent committed Jan 27, 2023
1 parent 42dbed0 commit 8a8a4cf
Showing 1 changed file with 8 additions and 3 deletions.
11 changes: 8 additions & 3 deletions var/spack/repos/builtin/packages/freetype/package.py
Original file line number Diff line number Diff line change
Expand Up @@ -50,9 +50,14 @@ def headers(self):


class CMakeBuilder(CMakeBuilder):
def cmake_args(self):
return [self.define("FT_WITH_ZLIB", True), self.define("FT_WITH_BZIP2", True)]

def cmake_args(self):
return [
self.define("FT_DISABLE_ZLIB", True),
self.define("FT_DISABLE_BROTLI", True),
self.define("FT_DISABLE_HARFBUZZ", True),
self.define("FT_REQUIRE_PNG", True),
self.define("FT_REQUIRE_BZIP2", True),
]

class AutoToolsBuilder(AutotoolsBuilder):
def configure_args(self):
Expand Down

0 comments on commit 8a8a4cf

Please sign in to comment.