diff options
author | Campbell Barton <ideasman42@gmail.com> | 2019-04-16 07:18:52 +0300 |
---|---|---|
committer | Campbell Barton <ideasman42@gmail.com> | 2019-04-16 07:20:52 +0300 |
commit | 5498e7f193e2399b8693ef17803f864103307b4b (patch) | |
tree | c72b53e0d0f3fe1e5f4706c207917a7cbcaa18d7 /intern/audaspace | |
parent | 813e470eac309a78d1f8cdc4a3abb0314b0ee5f3 (diff) |
CMake: add library deps to CMakeLists.txt
Tested to work on Linux and macOS.
This will be enabled once all platforms are verified.
See D4684
Diffstat (limited to 'intern/audaspace')
-rw-r--r-- | intern/audaspace/CMakeLists.txt | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/intern/audaspace/CMakeLists.txt b/intern/audaspace/CMakeLists.txt index 6b828b204f1..21657d6f3c0 100644 --- a/intern/audaspace/CMakeLists.txt +++ b/intern/audaspace/CMakeLists.txt @@ -41,6 +41,12 @@ endif() set(LIB ) +if(NOT WITH_SYSTEM_AUDASPACE) + list(APPEND LIB + audaspace + ) +endif() + if(WITH_PYTHON) list(APPEND INC_SYS ${PYTHON_INCLUDE_DIRS} @@ -49,6 +55,12 @@ if(WITH_PYTHON) intern/AUD_PyInit.cpp intern/AUD_PyInit.h ) + if(NOT WITH_SYSTEM_AUDASPACE) + list(APPEND LIB + audaspace-py + ) + endif() + add_definitions(-DWITH_PYTHON) endif() |