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:
Rafał Florczak
2024-06-18 05:39:51 -07:00
committed by teejusb
parent daad1a2333
commit 90aabddc7f
4 changed files with 3 additions and 10 deletions
+1 -2
View File
@@ -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})