mirror of
https://github.com/vgmstream/vgmstream.git
synced 2024-11-12 01:30:49 +01:00
build: cmake tweak for ffmpeg
This commit is contained in:
parent
518cf8f8b1
commit
e1c9da8bea
@ -103,10 +103,11 @@ endif()
|
||||
if(BUILD_STATIC)
|
||||
set(BUILD_SHARED_LIBS OFF)
|
||||
set(CMAKE_EXE_LINKER_FLAGS "-static-libgcc -static-libstdc++ -static")
|
||||
|
||||
find_package(PkgConfig REQUIRED)
|
||||
pkg_check_modules(PC_OPUS REQUIRED opus>=1.1)
|
||||
|
||||
|
||||
# it is already kind of obvious when you do not have it, and just prevents you from building without ffmpeg
|
||||
#find_package(PkgConfig REQUIRED)
|
||||
#pkg_check_modules(PC_OPUS REQUIRED opus>=1.1)
|
||||
|
||||
# Incompatible with static builds
|
||||
set(BUILD_AUDACIOUS OFF)
|
||||
endif()
|
||||
|
Loading…
Reference in New Issue
Block a user