Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.blender.org/blender.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDalai Felinto <dalai@blender.org>2020-10-06 15:09:04 +0300
committerDalai Felinto <dalai@blender.org>2020-10-06 15:09:47 +0300
commit4bb15c8eecbf8186a8948ced9349d54c1a8c5e33 (patch)
tree140fc49a41c290138ad581c976e597ef3de00c9f
parentf3fce877b34154224ff0d1e7789b28382fa8f0ea (diff)
VSE: Fix audio strips
When sequencer was moved from kernel, the DEFINES based on audaspace were not moved along. That means users had no way of creating new audio strips since BKE_sequencer_add_sound_strip was ifdef'out
-rw-r--r--source/blender/sequencer/CMakeLists.txt12
1 files changed, 12 insertions, 0 deletions
diff --git a/source/blender/sequencer/CMakeLists.txt b/source/blender/sequencer/CMakeLists.txt
index 75b5f2fef64..866eba9ca41 100644
--- a/source/blender/sequencer/CMakeLists.txt
+++ b/source/blender/sequencer/CMakeLists.txt
@@ -53,4 +53,16 @@ set(LIB
bf_blenlib
)
+if(WITH_AUDASPACE)
+ add_definitions(-DWITH_AUDASPACE)
+
+ list(APPEND INC_SYS
+ ${AUDASPACE_C_INCLUDE_DIRS}
+ )
+ list(APPEND LIB
+ ${AUDASPACE_C_LIBRARIES}
+ ${AUDASPACE_PY_LIBRARIES}
+ )
+endif()
+
blender_add_lib(bf_sequencer "${SRC}" "${INC}" "${INC_SYS}" "${LIB}")