2 FIND_PATH(LAME_INCLUDE_DIR lame/lame.h /usr/include /usr/local/include)
3 FIND_LIBRARY(LAME_LIBRARY NAMES mp3lame PATH /usr/lib /usr/local/lib)
5 IF (LAME_INCLUDE_DIR AND LAME_LIBRARY)
7 ENDIF (LAME_INCLUDE_DIR AND LAME_LIBRARY)
10 IF (NOT lame_FIND_QUIETLY)
11 MESSAGE(STATUS "Found lame: ${LAME_INCLUDE_DIR}/lame/lame.h ${LAME_LIBRARY}")
12 ENDIF (NOT lame_FIND_QUIETLY)
14 IF (lame_FIND_REQUIRED)
15 MESSAGE(FATAL_ERROR "Could not find lame")
16 ENDIF (lame_FIND_REQUIRED)