README-SDL.txt
author Sam Lantinga <slouken@libsdl.org>
Fri, 18 Oct 2013 00:49:59 -0700
changeset 7835 4be86f76e710
parent 7222 2435b221d77d
child 9507 b1e690e9c5b3
permissions -rw-r--r--
Fixed bug 2108 - CMake does not set X11 includes properly for sdl2-config and friends

Marcus von Appen

The autotools-based code uses X_CFLAGS and some hackish x_includes code to add some necessary includes to SDL_CFLAGS for proper X11 and OpenGL include handling.

At the moment, the cmake-baed build code does not do that. Below is a patch, which provides the necessary changes to add a proper include to the SDL_CFLAGS.
slouken@7222
     1
slouken@7222
     2
Please distribute this file with the SDL runtime environment:
slouken@7222
     3
slouken@7222
     4
The Simple DirectMedia Layer (SDL for short) is a cross-platform library
slouken@7222
     5
designed to make it easy to write multi-media software, such as games and
slouken@7222
     6
emulators.
slouken@7222
     7
slouken@7222
     8
The Simple DirectMedia Layer library source code is available from:
slouken@7222
     9
http://www.libsdl.org/
slouken@7222
    10
slouken@7222
    11
This library is distributed under the terms of the zlib license:
slouken@7222
    12
http://www.zlib.net/zlib_license.html
slouken@7222
    13