diff options
author | Joerg Mueller <nexyon@gmail.com> | 2009-08-21 23:39:28 +0400 |
---|---|---|
committer | Joerg Mueller <nexyon@gmail.com> | 2009-08-21 23:39:28 +0400 |
commit | f248b25152db25c03c9e296ed965b6925924829a (patch) | |
tree | 6827d9d24d0d570b14f355ba9128f8c8adefa936 /intern/audaspace/CMakeLists.txt | |
parent | 647fd95c7fc25170ec2f1c75137f4e6f39c66651 (diff) |
Audio file loading backend libsndfile!
Diffstat (limited to 'intern/audaspace/CMakeLists.txt')
-rw-r--r-- | intern/audaspace/CMakeLists.txt | 8 |
1 files changed, 7 insertions, 1 deletions
diff --git a/intern/audaspace/CMakeLists.txt b/intern/audaspace/CMakeLists.txt index 940a4b2bedc..1b48de3190b 100644 --- a/intern/audaspace/CMakeLists.txt +++ b/intern/audaspace/CMakeLists.txt @@ -53,6 +53,12 @@ IF(WITH_JACK) ADD_DEFINITIONS(-DWITH_JACK) ENDIF(WITH_JACK) -SET(SRC ${SRC} ${FFMPEGSRC} ${SDLSRC} ${OPENALSRC} ${JACKSRC}) +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}) BLENDERLIB(bf_audaspace "${SRC}" "${INC}") |