Drop libbz2 dependency
Dynamic linking against libbz2 was problematic on some distributions. We only needed it for pcre's CLI (which we don't use) and ffmpeg's mkv decompression in case a user forced encoder to use it, because its usage is discouraged by the standard. See https://github.com/itgmania/itgmania/issues/217 for the related discussion.
This commit is contained in:
+1
-2
@@ -387,7 +387,6 @@ elseif(APPLE)
|
||||
${MAC_FRAME_COREAUDIO}
|
||||
${MAC_FRAME_CORESERVICES}
|
||||
${MAC_FRAME_SYSTEM}
|
||||
"${BZIP2_LIBRARY_RELEASE}"
|
||||
"${ICONV_LIBRARIES}"
|
||||
"${SM_FFMPEG_LIB}/libavformat.a"
|
||||
"${SM_FFMPEG_LIB}/libavcodec.a"
|
||||
@@ -412,7 +411,7 @@ else() # Unix / Linux TODO: Remember to find and locate the zip archive files.
|
||||
list(APPEND SMDATA_LINK_LIB "${GTK3_LIBRARIES}")
|
||||
endif()
|
||||
|
||||
list(APPEND SMDATA_LINK_LIB "${BZIP2_LIBRARIES}" "${CMAKE_THREAD_LIBS_INIT}")
|
||||
list(APPEND SMDATA_LINK_LIB "${CMAKE_THREAD_LIBS_INIT}")
|
||||
|
||||
if(HAS_ALSA)
|
||||
list(APPEND SMDATA_LINK_LIB ${ALSA_LIBRARIES})
|
||||
|
||||
Reference in New Issue
Block a user