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
This commit is contained in:
Dalai Felinto 2020-10-06 14:09:04 +02:00
parent f3fce877b3
commit 4bb15c8eec
Notes: blender-bot 2023-02-14 09:03:55 +01:00
Referenced by issue #81286, Negative frames not being played in current project
1 changed files with 12 additions and 0 deletions

View File

@ -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}")