Skip to content

Commit

Permalink
don't disable shared lame libs, but look for libmp3lame.a instead
Browse files Browse the repository at this point in the history
  • Loading branch information
wsnipex committed Nov 5, 2014
1 parent 6970207 commit 03f79aa
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 2 deletions.
2 changes: 1 addition & 1 deletion FindLame.cmake
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
# LAME_LIBRARIES - The liblame libraries

find_path(LAME_INCLUDE_DIRS lame/lame.h)
find_library(LAME_LIBRARIES mp3lame)
find_library(LAME_LIBRARIES NAMES libmp3lame.a mp3lame)

include(FindPackageHandleStandardArgs)
find_package_handle_standard_args(Lame DEFAULT_MSG LAME_INCLUDE_DIRS LAME_LIBRARIES)
Expand Down
1 change: 0 additions & 1 deletion depends/common/lame/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,6 @@ externalproject_add(lame
--disable-gtktest
--disable-frontend
--disable-decoder
--disable-shared
"CFLAGS=-fPIC -DPIC"
BUILD_COMMAND make -C libmp3lame
INSTALL_COMMAND ""
Expand Down

0 comments on commit 03f79aa

Please sign in to comment.