PreferencesDialog: Add browse button to output path
[skype-call-recorder.git] / CMakeModules / Findlame.cmake
blob0fe1057cf9b37e60ed0f7b784507f901e28ccf48
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)
6         SET(LAME_FOUND TRUE)
7 ENDIF (LAME_INCLUDE_DIR AND LAME_LIBRARY)
9 IF (LAME_FOUND)
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)
13 ELSE (LAME_FOUND)
14         IF (lame_FIND_REQUIRED)
15                 MESSAGE(FATAL_ERROR "Could not find lame")
16         ENDIF (lame_FIND_REQUIRED)
17 ENDIF (LAME_FOUND)