From 4bb15c8eecbf8186a8948ced9349d54c1a8c5e33 Mon Sep 17 00:00:00 2001 From: Dalai Felinto Date: Tue, 6 Oct 2020 14:09:04 +0200 Subject: 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 --- source/blender/sequencer/CMakeLists.txt | 12 ++++++++++++ 1 file changed, 12 insertions(+) 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}") -- cgit v1.2.3