diff options
author | Joerg Mueller <nexyon@gmail.com> | 2009-08-11 01:48:17 +0400 |
---|---|---|
committer | Joerg Mueller <nexyon@gmail.com> | 2009-08-11 01:48:17 +0400 |
commit | 86ef13c0a09aaecde563219f3a0220dde2257997 (patch) | |
tree | be15034d44f1fc849598c58f93636afcae0b78c8 /CMakeLists.txt | |
parent | f6682ab773c91ef0f760efdbe69f1a599cc1ac95 (diff) |
UNTESTED: Fixes for cmake on apple; libsamplerate and ffmpeg.
Diffstat (limited to 'CMakeLists.txt')
-rw-r--r-- | CMakeLists.txt | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/CMakeLists.txt b/CMakeLists.txt index 83aebf85eb0..3a24d436ade 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -413,6 +413,16 @@ IF(APPLE) SET(OPENEXR_LIB Iex Half IlmImf Imath IlmThread) SET(OPENEXR_LIBPATH ${OPENEXR}/lib) + SET(FFMPEG ${LIBDIR}/ffmpeg) + SET(FFMPEG_INC ${CMAKE_SOURCE_DIR}/extern/ffmpeg) + SET(FFMPEG_LIB avcodec avdevice avformat avutil mp3lame swscale x264 xvidcore) + SET(FFMPEG_LIBPATH ${FFMPEG}/lib) + + SET(LIBSAMPLERATE ${LIBDIR}/samplerate) + SET(LIBSAMPLERATE_INC ${LIBSAMPLERATE}/include) + SET(LIBSAMPLERATE_LIB libsamplerate) + SET(LIBSAMPLERATE_LIBPATH ${LIBSAMPLERATE}/lib) + SET(LLIBS stdc++ SystemStubs) SET(PLATFORM_CFLAGS "-pipe -fPIC -funsigned-char -fno-strict-aliasing") |