mirror of
https://github.com/SFML/SFML.git
synced 2024-11-25 12:51:05 +08:00
17 lines
381 B
CMake
17 lines
381 B
CMake
#
|
|
# 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/all.h)
|
|
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)
|