mirror of
https://github.com/ZDoom/qzdoom.git
synced 2024-11-28 06:53:58 +00:00
- Don't link against sndfile and mpg123 if not compiling with OpenAL support.
This commit is contained in:
parent
88a616da75
commit
20f7f524ca
1 changed files with 11 additions and 8 deletions
|
@ -286,8 +286,10 @@ if( NO_FMOD )
|
|||
endif( NO_FMOD )
|
||||
if( NO_OPENAL )
|
||||
add_definitions( -DNO_OPENAL=1 )
|
||||
endif( NO_OPENAL )
|
||||
|
||||
set(MPG123_FOUND NO)
|
||||
set(SNDFILE_FOUND NO)
|
||||
else( NO_OPENAL )
|
||||
# Search for libSndFile
|
||||
|
||||
find_package( SndFile )
|
||||
|
@ -295,6 +297,7 @@ find_package( SndFile )
|
|||
# Search for libmpg123
|
||||
|
||||
find_package( MPG123 )
|
||||
endif( NO_OPENAL )
|
||||
|
||||
# Search for FluidSynth
|
||||
|
||||
|
|
Loading…
Reference in a new issue