Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.blender.org/blender.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJörg Müller <nexyon@gmail.com>2014-03-04 16:44:15 +0400
committerJörg Müller <nexyon@gmail.com>2015-07-28 15:01:52 +0300
commit733073550f61cf4fbbe21aab33e9271915325109 (patch)
treea182ced91bb592815c097abf572bba999a9e8cdc /source/gameengine/Ketsji/KX_SoundActuator.h
parent96dd213e7ecabeffc682aee40b4102296ab062de (diff)
Audaspace: use standalone library.
- Added the cmake configuration option WITH_EXTERNAL_AUDASPACE. - Fixes to build without standalone library as well.
Diffstat (limited to 'source/gameengine/Ketsji/KX_SoundActuator.h')
-rw-r--r--source/gameengine/Ketsji/KX_SoundActuator.h7
1 files changed, 6 insertions, 1 deletions
diff --git a/source/gameengine/Ketsji/KX_SoundActuator.h b/source/gameengine/Ketsji/KX_SoundActuator.h
index bd7b28680f6..83d22142bda 100644
--- a/source/gameengine/Ketsji/KX_SoundActuator.h
+++ b/source/gameengine/Ketsji/KX_SoundActuator.h
@@ -35,7 +35,12 @@
#include "SCA_IActuator.h"
#ifdef WITH_AUDASPACE
-# include "AUD_C-API.h"
+# ifdef WITH_EXTERNAL_AUDASPACE
+# include <audaspace/AUD_Sound.h>
+# include <audaspace/AUD_Handle.h>
+# else
+# include "AUD_C-API.h"
+# endif
#endif
#include "BKE_sound.h"