mirror of
https://github.com/ZDoom/zdoom-macos-deps.git
synced 2025-01-19 06:30:53 +00:00
aedi: update flac build options
do not build programs and tests, and remove related code and .gitignore entry
This commit is contained in:
parent
96ef1befe0
commit
0be800b3da
2 changed files with 2 additions and 4 deletions
|
@ -82,10 +82,10 @@ class FlacTarget(CMakeStaticDependencyTarget):
|
|||
|
||||
def configure(self, state: BuildState):
|
||||
opts = state.options
|
||||
opts['CMAKE_EXE_LINKER_FLAGS'] = f'-framework CoreFoundation -L{state.lib_path}'
|
||||
opts['BUILD_CXXLIBS'] = 'NO'
|
||||
opts['BUILD_EXAMPLES'] = 'NO'
|
||||
opts['OGG_PACKAGE'] = 'ogg'
|
||||
opts['BUILD_PROGRAMS'] = 'NO'
|
||||
opts['BUILD_TESTING'] = 'NO'
|
||||
|
||||
super().configure(state)
|
||||
|
||||
|
@ -93,7 +93,6 @@ class FlacTarget(CMakeStaticDependencyTarget):
|
|||
super().post_build(state)
|
||||
|
||||
shutil.copytree(state.install_path / 'share/FLAC/cmake', state.install_path / 'lib/cmake/FLAC')
|
||||
self.keep_module_target(state, 'FLAC::FLAC')
|
||||
|
||||
|
||||
class FluidSynthTarget(CMakeStaticDependencyTarget):
|
||||
|
|
1
deps/.gitignore
vendored
1
deps/.gitignore
vendored
|
@ -4,7 +4,6 @@
|
|||
# Libraries, tier 1
|
||||
/bzip2/bin/
|
||||
/bzip2/man/
|
||||
/flac/bin/
|
||||
/flac/include/FLAC++/
|
||||
/fluidsynth/bin/
|
||||
/glib/bin/gdbus*
|
||||
|
|
Loading…
Reference in a new issue