Added support for FLAC audio files

This commit is contained in:
Laurent Gomila 2014-10-02 20:24:00 +02:00 committed by Mario Liebisch
parent 6096d22091
commit 5e0e645f46
22 changed files with 8065 additions and 7 deletions

View file

@ -0,0 +1,15 @@
#
# Try to find FLAC libraries and include paths.
# Once done this will define
#
# FLAC_FOUND
# FLAC_INCLUDE_DIR
# FLAC_LIBRARY
#
find_path(FLAC_INCLUDE_DIR flac/stream_decoder.h)
find_library(FLAC_LIBRARY NAMES flac)
include(FindPackageHandleStandardArgs)
find_package_handle_standard_args(FLAC DEFAULT_MSG FLAC_LIBRARY FLAC_INCLUDE_DIR)