FindLame.cmake 503 B

1234567891011121314151617
  1. # - Try to find LAME
  2. # Once done this will define
  3. #
  4. # LAME_FOUND - system has liblame
  5. # LAME_INCLUDE_DIRS - the liblame include directory
  6. # LAME_LIBRARIES - The liblame libraries
  7. find_path(LAME_INCLUDE_DIRS lame/lame.h)
  8. find_library(LAME_LIBRARIES mp3lame)
  9. include(FindPackageHandleStandardArgs)
  10. find_package_handle_standard_args(Lame DEFAULT_MSG LAME_INCLUDE_DIRS LAME_LIBRARIES)
  11. list(APPEND LAME_DEFINITIONS -DHAVE_LIBMP3LAME=1)
  12. mark_as_advanced(LAME_INCLUDE_DIRS LAME_LIBRARIES LAME_DEFINITIONS)