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:
authorBrecht Van Lommel <brechtvanlommel@gmail.com>2016-12-04 15:49:34 +0300
committerBrecht Van Lommel <brechtvanlommel@gmail.com>2016-12-04 22:26:37 +0300
commit1791697d4337eecf6a6007772b165b9142e7fcc1 (patch)
tree83eac6093c9fe7c958c172d813b43ccdf2ab647f /build_files
parent7d443ed86df8ad5cc1bed831a1333f5b550c3f01 (diff)
Fix macOS 10.9 build when using OIIO without FFmpeg.
Diffstat (limited to 'build_files')
-rw-r--r--build_files/cmake/platform/platform_apple.cmake3
1 files changed, 3 insertions, 0 deletions
diff --git a/build_files/cmake/platform/platform_apple.cmake b/build_files/cmake/platform/platform_apple.cmake
index 0083cca6bff..04485e31d98 100644
--- a/build_files/cmake/platform/platform_apple.cmake
+++ b/build_files/cmake/platform/platform_apple.cmake
@@ -316,6 +316,9 @@ if(WITH_OPENIMAGEIO)
${OPENEXR_LIBRARIES}
${ZLIB_LIBRARIES}
)
+ if(WITH_CXX11)
+ set(OPENIMAGEIO_LIBRARIES ${OPENIMAGEIO_LIBRARIES} ${LIBDIR}/ffmpeg/lib/libwebp.a)
+ endif()
set(OPENIMAGEIO_LIBPATH
${OPENIMAGEIO}/lib
${JPEG_LIBPATH}