hedgewars/sdlmain/CMakeLists.txt
author sheepluva
Wed, 13 Aug 2014 15:16:33 +0200
changeset 10382 a5752075f897
parent 8804 32bc222ddca6
child 11368 c481d087f653
permissions -rw-r--r--
this should fix the cmake 3.0 issue. thanks to Spacey for reporting
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