sdl2-config.cmake.in
author Sylvain Becker <sylvain.becker@gmail.com>
Mon, 21 Jan 2019 19:53:06 +0100
changeset 12567 92b9d6f10a29
parent 10474 e723c663ba58
permissions -rw-r--r--
Fixed bug 3827 - issue with MapRGB, palette and colorkey

For palette surface, SDL_MapRGB() returns different values whether colorkey is
set or not.
     1 # sdl2 cmake project-config input for ./configure scripts
     2 
     3 set(prefix "@prefix@") 
     4 set(exec_prefix "@exec_prefix@")
     5 set(libdir "@libdir@")
     6 set(SDL2_PREFIX "@prefix@")
     7 set(SDL2_EXEC_PREFIX "@prefix@")
     8 set(SDL2_LIBDIR "@libdir@")
     9 set(SDL2_INCLUDE_DIRS "@includedir@/SDL2")
    10 set(SDL2_LIBRARIES "-L${SDL2_LIBDIR} @SDL_RLD_FLAGS@ @SDL_LIBS@")
    11 string(STRIP "${SDL2_LIBRARIES}" SDL2_LIBRARIES)