UNTESTED: Fixes for cmake on apple; libsamplerate and ffmpeg.
authorJoerg Mueller <nexyon@gmail.com>
Mon, 10 Aug 2009 21:48:17 +0000 (21:48 +0000)
committerJoerg Mueller <nexyon@gmail.com>
Mon, 10 Aug 2009 21:48:17 +0000 (21:48 +0000)
CMakeLists.txt

index 83aebf85eb06ea4378c0f3857731e75fd35844d6..3a24d436ade6a0fa4c85e1d14cc44760d49702d6 100644 (file)
@@ -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")