Browse Source

Support engines with AudioEngineWwise

Signed-off-by: Alex Peterson <[email protected]>
Alex Peterson 1 year ago
parent
commit
f27b0b48ea
1 changed files with 6 additions and 0 deletions
  1. 6 0
      Gems/AudioEngineWwise/CMakeLists.txt

+ 6 - 0
Gems/AudioEngineWwise/CMakeLists.txt

@@ -35,4 +35,10 @@ endif()
 
 
 o3de_gem_setup("AudioEngineWwise")
 o3de_gem_setup("AudioEngineWwise")
 
 
+if(TARGET AudioEngineWwise)
+    # For backwards compatibility with engines that include AudioEngineWwise
+    # use Wwise for the targets if AudioEngineWwise is already defined
+    set(gem_name "Wwise")
+endif()
+
 add_subdirectory(Code)
 add_subdirectory(Code)