hedgewars/sdlmain/CMakeLists.txt
author unc0rr
Sun, 05 Jan 2014 23:58:13 +0400
branchwebgl
changeset 9958 5a222923c8f8
parent 8804 32bc222ddca6
child 11368 c481d087f653
permissions -rw-r--r--
- Don't define NOCONSOLE - Fix initialization with a pointer to stack (pas2c can't handle typed consts in functions) in uMisc.initModule
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