cmake/sdlchecks.cmake
changeset 8120 c858be546e5a
parent 8062 4fc5f66d63cc
child 8153 3e43c73ac79b
equal deleted inserted replaced
8119:df0bf33be2ca 8120:c858be546e5a
   489         set(SDL_VIDEO_DRIVER_X11_XSHAPE 1)
   489         set(SDL_VIDEO_DRIVER_X11_XSHAPE 1)
   490         set(HAVE_VIDEO_X11_XSHAPE TRUE)
   490         set(HAVE_VIDEO_X11_XSHAPE TRUE)
   491       endif(VIDEO_X11_XSHAPE AND HAVE_XSHAPE_H)
   491       endif(VIDEO_X11_XSHAPE AND HAVE_XSHAPE_H)
   492 
   492 
   493       if(VIDEO_X11_XVM AND HAVE_XF86VM_H)
   493       if(VIDEO_X11_XVM AND HAVE_XF86VM_H)
   494         if(HAVE_X11_SHARED AND XF86VMODE_LIB)
   494         if(HAVE_X11_SHARED AND XXF86VM_LIB)
   495           set(SDL_VIDEO_DRIVER_X11_DYNAMIC_XVIDMODE "\"${XF86VMODE_LIB_SONAME}\"")
   495           set(SDL_VIDEO_DRIVER_X11_DYNAMIC_XVIDMODE "\"${XXF86VM_LIB_SONAME}\"")
   496         else(HAVE_X11_SHARED AND XF86VMODE_LIB)
   496         else(HAVE_X11_SHARED AND XXF86VM_LIB)
   497           list(APPEND EXTRA_LIBS ${XF86VMODE_LIB})
   497           list(APPEND EXTRA_LIBS ${XXF86VM_LIB})
   498         endif(HAVE_X11_SHARED AND XF86VMODE_LIB)
   498         endif(HAVE_X11_SHARED AND XXF86VM_LIB)
   499         set(SDL_VIDEO_DRIVER_X11_XVIDMODE 1)
   499         set(SDL_VIDEO_DRIVER_X11_XVIDMODE 1)
   500         set(HAVE_VIDEO_X11_XVM TRUE)
   500         set(HAVE_VIDEO_X11_XVM TRUE)
   501       endif(VIDEO_X11_XVM AND HAVE_XF86VM_H)
   501       endif(VIDEO_X11_XVM AND HAVE_XF86VM_H)
   502 
   502 
   503       set(CMAKE_REQUIRED_LIBRARIES)
   503       set(CMAKE_REQUIRED_LIBRARIES)