mirror of
https://github.com/vgmstream/vgmstream.git
synced 2024-11-23 22:41:05 +01:00
Do not require opus in shared builds
This commit is contained in:
parent
a9c398e8c8
commit
63ec122712
@ -72,7 +72,11 @@ macro(setup_target TARGET)
|
||||
else()
|
||||
target_include_directories(${TARGET} PRIVATE ${FFMPEG_INCLUDE_DIRS})
|
||||
if(LINK)
|
||||
target_link_libraries(${TARGET} avformat avcodec avutil swresample opus pthread m z)
|
||||
if(BUILD_STATIC)
|
||||
target_link_libraries(${TARGET} avformat avcodec avutil swresample opus pthread m z)
|
||||
else()
|
||||
target_link_libraries(${TARGET} ${FFMPEG_LIBRARIES})
|
||||
endif()
|
||||
endif()
|
||||
endif()
|
||||
endif()
|
||||
|
Loading…
Reference in New Issue
Block a user