Adjusted the new audio backends to compile on Linux
This commit is contained in:
parent
5e0e645f46
commit
3fbfde39a5
15 changed files with 12 additions and 8 deletions
|
@ -7,9 +7,10 @@
|
|||
# FLAC_LIBRARY
|
||||
#
|
||||
|
||||
find_path(FLAC_INCLUDE_DIR flac/stream_decoder.h)
|
||||
find_path(FLAC_INCLUDE_DIR FLAC/all.h)
|
||||
find_path(FLAC_INCLUDE_DIR FLAC/stream_decoder.h)
|
||||
|
||||
find_library(FLAC_LIBRARY NAMES flac)
|
||||
find_library(FLAC_LIBRARY NAMES FLAC)
|
||||
|
||||
include(FindPackageHandleStandardArgs)
|
||||
find_package_handle_standard_args(FLAC DEFAULT_MSG FLAC_LIBRARY FLAC_INCLUDE_DIR)
|
||||
|
|
|
@ -13,9 +13,10 @@ find_path(VORBIS_INCLUDE_DIR vorbis/vorbisfile.h)
|
|||
find_library(OGG_LIBRARY NAMES ogg)
|
||||
find_library(VORBIS_LIBRARY NAMES vorbis)
|
||||
find_library(VORBISFILE_LIBRARY NAMES vorbisfile)
|
||||
find_library(VORBISENC_LIBRARY NAMES vorbisenc)
|
||||
|
||||
include(FindPackageHandleStandardArgs)
|
||||
find_package_handle_standard_args(VORBIS DEFAULT_MSG VORBIS_LIBRARY VORBISFILE_LIBRARY OGG_LIBRARY VORBIS_INCLUDE_DIR OGG_INCLUDE_DIR)
|
||||
find_package_handle_standard_args(VORBIS DEFAULT_MSG VORBIS_LIBRARY VORBISFILE_LIBRARY VORBISENC_LIBRARY OGG_LIBRARY VORBIS_INCLUDE_DIR OGG_INCLUDE_DIR)
|
||||
|
||||
set(VORBIS_INCLUDE_DIRS ${OGG_INCLUDE_DIR} ${VORBIS_INCLUDE_DIR})
|
||||
set(VORBIS_LIBRARIES ${VORBISFILE_LIBRARY} ${VORBIS_LIBRARY} ${OGG_LIBRARY})
|
||||
set(VORBIS_LIBRARIES ${VORBISENC_LIBRARY} ${VORBISFILE_LIBRARY} ${VORBIS_LIBRARY} ${OGG_LIBRARY})
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue