diff options
author | Campbell Barton <ideasman42@gmail.com> | 2011-06-23 13:27:56 +0400 |
---|---|---|
committer | Campbell Barton <ideasman42@gmail.com> | 2011-06-23 13:27:56 +0400 |
commit | 2023db70a88c9c5ae7b38eccfee54b6f35780b5f (patch) | |
tree | 59f071e5f75e12f344567665ecc0370a0b091eb9 /source/blender/quicktime | |
parent | 9c2aa3d0ffb93881bf1e2763ab28893533f02bd7 (diff) |
cmake option to build without an audio library.
Diffstat (limited to 'source/blender/quicktime')
-rw-r--r-- | source/blender/quicktime/CMakeLists.txt | 8 | ||||
-rw-r--r-- | source/blender/quicktime/apple/qtkit_export.m | 4 |
2 files changed, 10 insertions, 2 deletions
diff --git a/source/blender/quicktime/CMakeLists.txt b/source/blender/quicktime/CMakeLists.txt index 0ed773ddd93..6ce4954f053 100644 --- a/source/blender/quicktime/CMakeLists.txt +++ b/source/blender/quicktime/CMakeLists.txt @@ -38,7 +38,6 @@ set(INC ../render/extern/include ../include ../windowmanager - ../../../intern/audaspace/intern ../../../intern/guardedalloc ) @@ -66,4 +65,11 @@ endif() add_definitions(-DWITH_QUICKTIME) +if(WITH_AUDASPACE) + list(APPEND INC + ../../../intern/audaspace/intern + ) + add_definitions(-DWITH_AUDASPACE) +endif() + blender_add_lib(bf_quicktime "${SRC}" "${INC}" "${INC_SYS}") diff --git a/source/blender/quicktime/apple/qtkit_export.m b/source/blender/quicktime/apple/qtkit_export.m index add280c6b64..c1b8688e1d7 100644 --- a/source/blender/quicktime/apple/qtkit_export.m +++ b/source/blender/quicktime/apple/qtkit_export.m @@ -38,7 +38,9 @@ #include "DNA_scene_types.h" #include "DNA_userdef_types.h" -#include "AUD_C-API.h" +#ifdef WITH_AUDASPACE +# include "AUD_C-API.h" +#endif #include "BKE_global.h" #include "BKE_main.h" |