Warning, /multimedia/k3b/cmake/modules/FindLame.cmake is written in an unsupported language. File is not indexed.

0001 # - Try to find Lame
0002 # Once done this will define
0003 #
0004 #  LAME_FOUND - system has Lame
0005 #  LAME_INCLUDE_DIR - the Lame include directory
0006 #  LAME_LIBRARIES - Link these to use Lame
0007 #  LAME_DEFINITIONS - Compiler switches required for using Lame
0008 # SPDX-License-Identifier: BSD-3-Clause
0009 
0010 
0011 if ( LAME_INCLUDE_DIR AND LAME_LIBRARIES )
0012    # in cache already
0013    SET(Lame_FIND_QUIETLY TRUE)
0014 endif ( LAME_INCLUDE_DIR AND LAME_LIBRARIES )
0015 
0016 FIND_PATH(LAME_INCLUDE_DIR NAMES lame/lame.h
0017 )
0018 
0019 FIND_LIBRARY(LAME_LIBRARIES NAMES mp3lame
0020 )
0021 
0022 include(FindPackageHandleStandardArgs)
0023 FIND_PACKAGE_HANDLE_STANDARD_ARGS(Lame DEFAULT_MSG LAME_INCLUDE_DIR LAME_LIBRARIES )
0024 
0025 # show the LAME_INCLUDE_DIR and LAME_LIBRARIES variables only in the advanced view
0026 MARK_AS_ADVANCED(LAME_INCLUDE_DIR LAME_LIBRARIES )
0027