sdl2-config.cmake.in
author Sam Lantinga <slouken@libsdl.org>
Sat, 23 Sep 2017 12:38:47 -0700
changeset 11543 53b03749a7ff
parent 10474 e723c663ba58
permissions -rw-r--r--
Fixed bug 3842 - fix SDL_thread.h for emx

Ozkan Sezer

EMX declares _beginthread() / _endthread() in stdlib.h, not process.h.
The attached patch updates the OS/2 case of SDL_thread.h for it. (It
also tidies the unreadable whitespace in win32 case.)
slouken@9785
     1
# sdl2 cmake project-config input for ./configure scripts
slouken@9785
     2
slouken@9785
     3
set(prefix "@prefix@") 
slouken@9785
     4
set(exec_prefix "@exec_prefix@")
icculus@9978
     5
set(libdir "@libdir@")
slouken@9785
     6
set(SDL2_PREFIX "@prefix@")
slouken@9785
     7
set(SDL2_EXEC_PREFIX "@prefix@")
slouken@9785
     8
set(SDL2_LIBDIR "@libdir@")
slouken@9785
     9
set(SDL2_INCLUDE_DIRS "@includedir@/SDL2")
slouken@9785
    10
set(SDL2_LIBRARIES "-L${SDL2_LIBDIR} @SDL_RLD_FLAGS@ @SDL_LIBS@")
slouken@10474
    11
string(STRIP "${SDL2_LIBRARIES}" SDL2_LIBRARIES)