From 86ef13c0a09aaecde563219f3a0220dde2257997 Mon Sep 17 00:00:00 2001 From: Joerg Mueller Date: Mon, 10 Aug 2009 21:48:17 +0000 Subject: [PATCH] UNTESTED: Fixes for cmake on apple; libsamplerate and ffmpeg. --- CMakeLists.txt | 10 ++++++++++ 1 file changed, 10 insertions(+) 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")