diff options
author | Jörg Müller <nexyon@gmail.com> | 2014-03-04 16:44:15 +0400 |
---|---|---|
committer | Jörg Müller <nexyon@gmail.com> | 2015-07-28 15:01:52 +0300 |
commit | 733073550f61cf4fbbe21aab33e9271915325109 (patch) | |
tree | a182ced91bb592815c097abf572bba999a9e8cdc /build_files/cmake/macros.cmake | |
parent | 96dd213e7ecabeffc682aee40b4102296ab062de (diff) |
Audaspace: use standalone library.
- Added the cmake configuration option WITH_EXTERNAL_AUDASPACE.
- Fixes to build without standalone library as well.
Diffstat (limited to 'build_files/cmake/macros.cmake')
-rw-r--r-- | build_files/cmake/macros.cmake | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/build_files/cmake/macros.cmake b/build_files/cmake/macros.cmake index 34f6a360db6..de2109b5a6e 100644 --- a/build_files/cmake/macros.cmake +++ b/build_files/cmake/macros.cmake @@ -343,6 +343,9 @@ function(setup_liblinks if(WITH_BULLET AND WITH_SYSTEM_BULLET) target_link_libraries(${target} ${BULLET_LIBRARIES}) endif() + if(WITH_EXTERNAL_AUDASPACE) + target_link_libraries(${target} ${CAUDASPACE_LIBRARIES} ${PYAUDASPACE_LIBRARIES}) + endif() if(WITH_OPENAL) target_link_libraries(${target} ${OPENAL_LIBRARY}) endif() |