hedgewars/sdlmain/CMakeLists.txt
author nemo
Mon, 30 Dec 2013 23:28:47 -0500
changeset 9892 5a0a7ef7af2d
parent 8804 32bc222ddca6
child 11368 c481d087f653
permissions -rw-r--r--
allow SDL 1.2 to at least do a 32767 map. We probably should add a TryDo somewhere to assert that limit on SDL 1.2 to avoid overflows. Ditto int version for SDL 2
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
8804
32bc222ddca6 move sdlmain compilation in its own folder
koda
parents:
diff changeset
     1
find_package(SDL REQUIRED)
32bc222ddca6 move sdlmain compilation in its own folder
koda
parents:
diff changeset
     2
32bc222ddca6 move sdlmain compilation in its own folder
koda
parents:
diff changeset
     3
include_directories(${SDL_INCLUDE_DIR})
32bc222ddca6 move sdlmain compilation in its own folder
koda
parents:
diff changeset
     4
32bc222ddca6 move sdlmain compilation in its own folder
koda
parents:
diff changeset
     5
add_library (SDLmain STATIC SDLMain.m)
32bc222ddca6 move sdlmain compilation in its own folder
koda
parents:
diff changeset
     6
32bc222ddca6 move sdlmain compilation in its own folder
koda
parents:
diff changeset
     7