aboutsummaryrefslogblamecommitdiffstats
path: root/community/sdl2/directfb-cflags.patch
blob: 4758d8b55a86e9a2c67176e8f2cfa402f9ec7289 (plain) (tree)
1
2
3
4
5
6
7
8
9
10

                           
                                        






                                                                                              
--- a/cmake/sdlchecks.cmake
+++ b/cmake/sdlchecks.cmake
@@ -692,6 +692,7 @@ macro(CheckDirectFB)
       set(SDL_VIDEO_DRIVER_DIRECTFB 1)
       set(SDL_VIDEO_RENDER_DIRECTFB 1)
       list(APPEND EXTRA_CFLAGS ${PKG_DIRECTFB_CFLAGS})
+      list(JOIN PKG_DIRECTFB_CFLAGS " " SDL_CFLAGS)
       if(DIRECTFB_SHARED)
         if(NOT HAVE_DLOPEN)
           message_warn("You must have SDL_LoadObject() support for dynamic DirectFB loading")