Fix compilation error when using SDL dynamic loading
authorSergey Sharybin <sergey.vfx@gmail.com>
Thu, 18 Apr 2019 10:10:08 +0000 (12:10 +0200)
committerSergey Sharybin <sergey.vfx@gmail.com>
Thu, 18 Apr 2019 10:10:08 +0000 (12:10 +0200)
intern/audaspace/CMakeLists.txt

index 7baaf30..1972a5f 100644 (file)
@@ -45,6 +45,11 @@ if(NOT WITH_SYSTEM_AUDASPACE)
   list(APPEND LIB
     audaspace
   )
+  if(WITH_SDL_DYNLOAD)
+    list(APPEND LIB
+      extern_sdlew
+    )
+  endif()
 endif()
 
 if(WITH_PYTHON)