hedgewars/sdlmain/CMakeLists.txt
author sheepluva
Wed, 11 Nov 2015 23:49:23 +0100
branchsdl2transition
changeset 11369 ea5edb4e5245
parent 11368 c481d087f653
permissions -rw-r--r--
update travis dependencies
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
11368
c481d087f653 cmake tweaks. make pas2c build with sdl2 (keycodes or something still missing)
sheepluva
parents: 8804
diff changeset
     1
find_package(SDL2 REQUIRED)
8804
32bc222ddca6 move sdlmain compilation in its own folder
koda
parents:
diff changeset
     2
11368
c481d087f653 cmake tweaks. make pas2c build with sdl2 (keycodes or something still missing)
sheepluva
parents: 8804
diff changeset
     3
include_directories(${SDL2_INCLUDE_DIR})
8804
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