1
0
mirror of https://github.com/cookiengineer/audacity synced 2025-10-19 17:11:12 +02:00

rename MP2 CMake option to MP2_ENCODING

Twolame only encodes MP2 audio. It does not decode MP2 audio.

Signed-off-by: Be <be@mixxx.org>
This commit is contained in:
Be
2021-08-18 23:47:32 -05:00
parent db09547873
commit 13914c5125
2 changed files with 3 additions and 3 deletions

View File

@@ -589,8 +589,8 @@ else()
endif()
find_package(libtwolame)
cmake_dependent_option(MP2 "MP2 support with Twolame" ON "libtwolame_FOUND" OFF)
if(MP2)
cmake_dependent_option(MP2_ENCODING "MP2 support with Twolame" ON "libtwolame_FOUND" OFF)
if(MP2_ENCODING)
set(USE_LIBTWOLAME ON)
message(STATUS "MP2 encoding support enabled.")
else()