Undo revision 23130 which was a merge with 2.5, a messy one because I did something...
[blender.git] / intern / audaspace / CMakeLists.txt
index 587ef30..940a4b2 100644 (file)
@@ -25,40 +25,34 @@ SET(INC . intern FX SRC ${PTHREADS_INC} ${LIBSAMPLERATE_INC})
 FILE(GLOB SRC intern/*.cpp intern/*.h FX/*.cpp SRC/*.cpp)
 
 IF(WITH_FFMPEG)
-       SET(INC ${INC} ffmpeg ${FFMPEG_INC})
-       FILE(GLOB FFMPEGSRC ffmpeg/*.cpp)
-       ADD_DEFINITIONS(-DWITH_FFMPEG)
+  SET(INC ${INC} ffmpeg ${FFMPEG_INC})
+  FILE(GLOB FFMPEGSRC ffmpeg/*.cpp)
+  ADD_DEFINITIONS(-DWITH_FFMPEG)
 ENDIF(WITH_FFMPEG)
 
 IF(WITH_SDL)
-       SET(INC ${INC} SDL ${SDL_INCLUDE_DIR})
-       FILE(GLOB SDLSRC SDL/*.cpp)
-       ADD_DEFINITIONS(-DWITH_SDL)
+  SET(INC ${INC} SDL ${SDL_INCLUDE_DIR})
+  FILE(GLOB SDLSRC SDL/*.cpp)
+  ADD_DEFINITIONS(-DWITH_SDL)
 ENDIF(WITH_SDL)
 
 IF(WITH_OPENAL)
-       SET(INC ${INC} OpenAL ${OPENAL_INCLUDE_DIR})
-       FILE(GLOB OPENALSRC OpenAL/*.cpp)
-       ADD_DEFINITIONS(-DWITH_OPENAL)
-
-       STRING(REGEX MATCH ".*ramework.*" FRAMEWORK ${OPENAL_INCLUDE_DIR})
-       IF(FRAMEWORK)
-               ADD_DEFINITIONS(-DAPPLE_FRAMEWORK_FIX)
-       ENDIF(FRAMEWORK)
+  SET(INC ${INC} OpenAL ${OPENAL_INCLUDE_DIR})
+  FILE(GLOB OPENALSRC OpenAL/*.cpp)
+  ADD_DEFINITIONS(-DWITH_OPENAL)
+
+  STRING(REGEX MATCH ".*ramework.*" FRAMEWORK ${OPENAL_INCLUDE_DIR})
+  IF(FRAMEWORK)
+    ADD_DEFINITIONS(-DAPPLE_FRAMEWORK_FIX)
+  ENDIF(FRAMEWORK)
 ENDIF(WITH_OPENAL)
 
 IF(WITH_JACK)
-       SET(INC ${INC} jack ${JACK_INC})
-       FILE(GLOB JACKSRC jack/*.cpp)
-       ADD_DEFINITIONS(-DWITH_JACK)
+  SET(INC ${INC} jack ${JACK_INC})
+  FILE(GLOB JACKSRC jack/*.cpp)
+  ADD_DEFINITIONS(-DWITH_JACK)
 ENDIF(WITH_JACK)
 
-IF(WITH_SNDFILE)
-       SET(INC ${INC} sndfile ${SNDFILE_INC})
-       FILE(GLOB SNDFILESRC sndfile/*.cpp)
-       ADD_DEFINITIONS(-DWITH_SNDFILE)
-ENDIF(WITH_SNDFILE)
-
-SET(SRC ${SRC} ${FFMPEGSRC} ${SNDFILESRC} ${SDLSRC} ${OPENALSRC} ${JACKSRC})
+SET(SRC ${SRC} ${FFMPEGSRC} ${SDLSRC} ${OPENALSRC} ${JACKSRC})
 
 BLENDERLIB(bf_audaspace "${SRC}" "${INC}")