diff options
author | Christophe Giboudeaux <christophe@krop.fr> | 2021-03-29 20:28:58 +0200 |
---|---|---|
committer | Christophe Giboudeaux <christophe@krop.fr> | 2021-04-06 19:59:17 +0000 |
commit | 272352969834598cfd20f3e8b15916aa3ccebbbb (patch) | |
tree | d0d831203f0816ee2d4edecb526cdbdec64ea3d4 /attic/modules/FindFlac.cmake | |
parent | d88db6a1469bdcb48e64f265d35a6f7867767b54 (diff) | |
download | extra-cmake-modules-272352969834598cfd20f3e8b15916aa3ccebbbb.tar.gz extra-cmake-modules-272352969834598cfd20f3e8b15916aa3ccebbbb.tar.bz2 |
Clean ECM's attic
Diffstat (limited to 'attic/modules/FindFlac.cmake')
-rw-r--r-- | attic/modules/FindFlac.cmake | 34 |
1 files changed, 0 insertions, 34 deletions
diff --git a/attic/modules/FindFlac.cmake b/attic/modules/FindFlac.cmake deleted file mode 100644 index 208e3fc3..00000000 --- a/attic/modules/FindFlac.cmake +++ /dev/null @@ -1,34 +0,0 @@ -# - Try to find Flac, the Free Lossless Audio Codec -# Once done this will define -# -# FLAC_FOUND - system has Flac -# FLAC_INCLUDE_DIR - the Flac include directory -# FLAC_LIBRARIES - Link these to use Flac -# FLAC_OGGFLAC_LIBRARIES - Link these to use OggFlac -# -# No version checking is done - use FLAC_API_VERSION_CURRENT to -# conditionally compile version-dependent code - -# Copyright (c) 2006, Laurent Montel, <montel@kde.org> -# Copyright (c) 2006, Alexander Neundorf, <neundorf@kde.org> -# -# Redistribution and use is allowed according to the terms of the BSD license. -# For details see the accompanying COPYING-CMAKE-SCRIPTS file. - -FIND_PATH(FLAC_INCLUDE_DIR FLAC/metadata.h) - -FIND_LIBRARY(FLAC_LIBRARIES NAMES FLAC ) - -FIND_LIBRARY(FLAC_OGG_LIBRARY NAMES OggFLAC) - - -IF(FLAC_LIBRARIES AND FLAC_OGG_LIBRARY) - SET(FLAC_OGGFLAC_LIBRARIES ${FLAC_OGG_LIBRARY} ${FLAC_LIBRARIES}) -ENDIF(FLAC_LIBRARIES AND FLAC_OGG_LIBRARY) - -INCLUDE(FindPackageHandleStandardArgs) -FIND_PACKAGE_HANDLE_STANDARD_ARGS(Flac REQUIRED_VARS FLAC_LIBRARIES FLAC_INCLUDE_DIR) - -# show the FLAC_INCLUDE_DIR and FLAC_LIBRARIES variables only in the advanced view -MARK_AS_ADVANCED(FLAC_INCLUDE_DIR FLAC_LIBRARIES FLAC_OGG_LIBRARY) - |