File tree Expand file tree Collapse file tree 2 files changed +10
-0
lines changed
Expand file tree Collapse file tree 2 files changed +10
-0
lines changed Original file line number Diff line number Diff line change @@ -169,6 +169,14 @@ endif (HAVE_LAME_LAME_H OR HAVE_MAD_H OR HAVE_MPG123_H)
169169
170170set (CMAKE_REQUIRED_LIBRARIES mp3lame m)
171171check_function_exists("lame_set_VBR_quality" HAVE_LAME_SET_VBR_QUALITY)
172+ check_function_exists("id3tag_set_fieldvalue" HAVE_LAME_ID3TAG)
173+
174+ if (HAVE_LAME_LAME_H AND (NOT WIN32 ))
175+ check_library_exists(iconv iconv "" HAVE_ICONV)
176+ if (HAVE_ICONV)
177+ set (optional_libs ${optional_libs} iconv)
178+ endif (HAVE_ICONV)
179+ endif (HAVE_LAME_LAME_H AND (NOT WIN32 ))
172180
173181if (HAVE_SUN_AUDIOIO_H OR HAVE_SYS_AUDIOIO_H)
174182 set (HAVE_SUN_AUDIO 1)
Original file line number Diff line number Diff line change 1515#cmakedefine HAVE_GETTIMEOFDAY 1
1616#cmakedefine HAVE_GLOB_H 1
1717#define HAVE_GSM 1
18+ #cmakedefine HAVE_ICONV 1
1819#cmakedefine HAVE_ID3TAG 1
1920#cmakedefine HAVE_INTTYPES_H 1
2021#cmakedefine HAVE_IO_H 1
22+ #cmakedefine HAVE_LAME_ID3TAG 1
2123#cmakedefine HAVE_LAME_LAME_H 1
2224#cmakedefine HAVE_LAME_SET_VBR_QUALITY 1
2325#define HAVE_LPC10 1
You can’t perform that action at this time.
0 commit comments