Include SDL information in system info text.
[blender.git] / source / blender / python / intern / CMakeLists.txt
index a75db23d20b247bcd6a03b6298e5c25042dc0102..8f85dbe11d7db0f4a79720253a0c79cc24331282 100644 (file)
@@ -52,6 +52,7 @@ set(SRC
        bpy_app_handlers.c
        bpy_app_ocio.c
        bpy_app_oiio.c
+       bpy_app_sdl.c
        bpy_app_translations.c
        bpy_driver.c
        bpy_interface.c
@@ -210,9 +211,19 @@ if(WITH_OPENAL)
 endif()
 
 if(WITH_SDL)
+       list(APPEND INC_SYS
+               ${SDL_INCLUDE_DIR}
+       )
        add_definitions(-DWITH_SDL)
 endif()
 
+if(WITH_SDL_DYNLOAD)
+       list(APPEND INC
+               ../../../../extern/sdlew/include
+       )
+    add_definitions(-DWITH_SDL_DYNLOAD)
+endif()
+
 if(WITH_JACK)
        add_definitions(-DWITH_JACK)
 endif()