Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.blender.org/blender.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSybren A. Stüvel <sybren@blender.org>2019-10-04 17:29:37 +0300
committerSybren A. Stüvel <sybren@blender.org>2019-10-04 17:30:01 +0300
commitb9736e8e12dd9e1cd37fcde2ab330131c24dafd1 (patch)
tree00f46cddcf413b0a87a08e14fe01062e7b9b2778 /build_files/cmake
parent6d8c053187cbaf5773509ac8beab4f7e3525ad0d (diff)
Add Opus audio library and configure FFmpeg to use it
Opus support was enabled in 2ddfd51810e0. This commit adds the Opus library and configures FFmpeg to be compiled with Opus support. NOTE: It may be required to run `cmake -U '*FFMPEG_LIBRARIES*' .` in your Blender build directory in order to refresh the `FFMPEG_LIBRARIES` setting and add libopus.
Diffstat (limited to 'build_files/cmake')
-rw-r--r--build_files/cmake/platform/platform_apple.cmake2
1 files changed, 1 insertions, 1 deletions
diff --git a/build_files/cmake/platform/platform_apple.cmake b/build_files/cmake/platform/platform_apple.cmake
index 249546dd216..3cc6eb00476 100644
--- a/build_files/cmake/platform/platform_apple.cmake
+++ b/build_files/cmake/platform/platform_apple.cmake
@@ -158,7 +158,7 @@ if(WITH_CODEC_FFMPEG)
mp3lame swscale x264 xvidcore
theora theoradec theoraenc
vorbis vorbisenc vorbisfile ogg
- vpx swresample)
+ opus vpx swresample)
set(FFMPEG_LIBPATH ${FFMPEG}/lib)
endif()