mirror of
https://github.com/love2d/love.git
synced 2026-08-17 19:23:38 +02:00
Remove mpg123 reference from build system.
TODO: macOS/iOS xcodeproj
This commit is contained in:
+13
-37
@@ -49,7 +49,6 @@ else()
|
||||
endif()
|
||||
|
||||
option(LOVE_JIT "Use LuaJIT" TRUE)
|
||||
option(LOVE_MPG123 "Use mpg123" TRUE)
|
||||
|
||||
if(LOVE_JIT)
|
||||
if(APPLE)
|
||||
@@ -60,10 +59,6 @@ else()
|
||||
message(STATUS "LuaJIT: Disabled")
|
||||
endif()
|
||||
|
||||
if(NOT LOVE_MPG123)
|
||||
add_definitions(-DLOVE_NOMPG123)
|
||||
endif()
|
||||
|
||||
message(STATUS "Target platform: ${LOVE_TARGET_PLATFORM}")
|
||||
|
||||
if(POLICY CMP0072)
|
||||
@@ -118,17 +113,6 @@ if(MEGA)
|
||||
${MEGA_OPENAL}
|
||||
)
|
||||
|
||||
if(LOVE_MPG123)
|
||||
set(LOVE_LINK_LIBRARIES
|
||||
${LOVE_LINK_LIBRARIES}
|
||||
${MEGA_MPEG123}
|
||||
)
|
||||
set(LOVE_MOVE_DLLS
|
||||
${LOVE_MOVE_DLLS}
|
||||
${MEGA_MPEG123}
|
||||
)
|
||||
endif()
|
||||
|
||||
if(LOVE_JIT)
|
||||
set(LOVE_LUA_LIBRARY ${MEGA_LUAJIT_LIB})
|
||||
# LOVE_EXTRA_DLLS are non-runtime DLLs which should be bundled with the
|
||||
@@ -209,18 +193,6 @@ Please see http://bitbucket.org/rude/megasource
|
||||
${ZLIB_LIBRARY}
|
||||
)
|
||||
|
||||
if(LOVE_MPG123)
|
||||
find_package(MPG123 REQUIRED)
|
||||
set(LOVE_LINK_LIBRARIES
|
||||
${LOVE_LINK_LIBRARIES}
|
||||
${MPG123_LIBRARY}
|
||||
)
|
||||
set(LOVE_INCLUDE_DIRS
|
||||
${LOVE_INCLUDE_DIRS}
|
||||
${MPG123_INCLUDE_DIR}
|
||||
)
|
||||
endif()
|
||||
|
||||
if(LOVE_JIT)
|
||||
find_package(LuaJIT REQUIRED)
|
||||
set(LOVE_LUA_LIBRARY ${LUAJIT_LIBRARY})
|
||||
@@ -921,6 +893,8 @@ set(LOVE_SRC_MODULE_SOUND_LULLABY
|
||||
src/modules/sound/lullaby/GmeDecoder.h
|
||||
src/modules/sound/lullaby/ModPlugDecoder.cpp
|
||||
src/modules/sound/lullaby/ModPlugDecoder.h
|
||||
src/modules/sound/lullaby/MP3Decoder.h
|
||||
src/modules/sound/lullaby/MP3Decoder.cpp
|
||||
src/modules/sound/lullaby/Sound.cpp
|
||||
src/modules/sound/lullaby/Sound.h
|
||||
src/modules/sound/lullaby/VorbisDecoder.cpp
|
||||
@@ -929,14 +903,6 @@ set(LOVE_SRC_MODULE_SOUND_LULLABY
|
||||
src/modules/sound/lullaby/WaveDecoder.h
|
||||
)
|
||||
|
||||
if(LOVE_MPG123)
|
||||
set(LOVE_SRC_MODULE_SOUND_LULLABY
|
||||
${LOVE_SRC_MODULE_SOUND_LULLABY}
|
||||
src/modules/sound/lullaby/Mpg123Decoder.cpp
|
||||
src/modules/sound/lullaby/Mpg123Decoder.h
|
||||
)
|
||||
endif()
|
||||
|
||||
set(LOVE_SRC_MODULE_SOUND
|
||||
${LOVE_SRC_MODULE_SOUND_ROOT}
|
||||
${LOVE_SRC_MODULE_SOUND_LULLABY}
|
||||
@@ -1252,11 +1218,21 @@ add_library(love_3p_ddsparse ${LOVE_SRC_3P_DDSPARSE})
|
||||
#
|
||||
|
||||
set(LOVE_SRC_3P_DRFLAC
|
||||
src/libraries/dr_flac/dr_flac.h
|
||||
src/libraries/dr/dr_flac.h
|
||||
)
|
||||
|
||||
# dr_flac has no implementation files of its own.
|
||||
|
||||
#
|
||||
# dr_mp3
|
||||
#
|
||||
|
||||
set(LOVE_SRC_3P_DRMP3
|
||||
src/libraries/dr/dr_mp3.h
|
||||
)
|
||||
|
||||
# dr_mp3 has no implementation files of its own.
|
||||
|
||||
#
|
||||
# enet
|
||||
#
|
||||
|
||||
Reference in New Issue
Block a user