summaryrefslogtreecommitdiffstats
path: root/cmake/FindLAME.cmake
blob: 0fec8e8fb40be961cee2fdf43705408563c3ce84 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
find_path(LAME_INCLUDE_DIR lame/lame.h)

find_library(LAME_LIBRARY NAMES lame mp3lame)

find_package_handle_standard_args(LAME DEFAULT_MSG LAME_INCLUDE_DIR LAME_LIBRARY)

if (LAME_FOUND)
	set(LAME_LIBRARIES ${LAME_LIBRARY})
	set(LAME_INCLUDE_DIRS ${LAME_INCLUDE_DIR})
endif()

mark_as_advanced(LAME_INCLUDE_DIR LAME_LIBRARY)