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/editors/space_graph/CMakeLists.txt | |
parent | 9c2aa3d0ffb93881bf1e2763ab28893533f02bd7 (diff) |
cmake option to build without an audio library.
Diffstat (limited to 'source/blender/editors/space_graph/CMakeLists.txt')
-rw-r--r-- | source/blender/editors/space_graph/CMakeLists.txt | 8 |
1 files changed, 7 insertions, 1 deletions
diff --git a/source/blender/editors/space_graph/CMakeLists.txt b/source/blender/editors/space_graph/CMakeLists.txt index f5548097db2..b7cde90546c 100644 --- a/source/blender/editors/space_graph/CMakeLists.txt +++ b/source/blender/editors/space_graph/CMakeLists.txt @@ -28,7 +28,6 @@ set(INC ../../makesrna ../../windowmanager ../../../../intern/guardedalloc - ../../../../intern/audaspace/intern ) set(INC_SYS @@ -47,4 +46,11 @@ set(SRC graph_intern.h ) +if(WITH_AUDASPACE) + list(APPEND INC + ../../../../intern/audaspace/intern + ) + add_definitions(-DWITH_AUDASPACE) +endif() + blender_add_lib(bf_editor_space_graph "${SRC}" "${INC}" "${INC_SYS}") |