Added support for FLAC audio files
This commit is contained in:
parent
6096d22091
commit
5e0e645f46
22 changed files with 8065 additions and 7 deletions
15
cmake/Modules/FindFLAC.cmake
Normal file
15
cmake/Modules/FindFLAC.cmake
Normal 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)
|
Loading…
Add table
Add a link
Reference in a new issue