2 # Find the Celt libraries (asound)
4 # This module defines the following variables:
5 # CELT_FOUND - True if CELT_INCLUDE_DIR & CELT_LIBRARY
7 # CELT_LIBRARIES - Set when CELT_LIBRARY is found
8 # CELT_INCLUDE_DIRS - Set when CELT_INCLUDE_DIR is found
10 # CELT_INCLUDE_DIR - where to find celt.h, etc.
11 # CELT_LIBRARY - the celt library
14 #=============================================================================
15 #=============================================================================
17 find_path(CELT_INCLUDE_DIR NAMES celt.h
19 DOC "Celt include directory"
22 find_library(CELT_LIBRARY NAMES celt0 celt
23 DOC "The Celt library"
26 include(FindPackageHandleStandardArgs)
27 FIND_PACKAGE_HANDLE_STANDARD_ARGS(CELT DEFAULT_MSG CELT_LIBRARY CELT_INCLUDE_DIR)
30 set( CELT_LIBRARIES ${CELT_LIBRARY} )
31 set( CELT_INCLUDE_DIRS ${CELT_INCLUDE_DIR} )
34 mark_as_advanced(CELT_INCLUDE_DIR CELT_LIBRARY)