hedgewars/sdlmain/CMakeLists.txt
author Gianfranco Costamagna <costamagnagianfranco@yahoo.it>
Tue, 30 Dec 2014 19:07:57 +0300
branch0.9.21
changeset 10723 2cfa65083621
parent 8804 32bc222ddca6
child 11368 c481d087f653
permissions -rw-r--r--
Use ghc return value instead of looking for the stderr, do not throw error when an haskell module throws a build failure, e.g. because of false positives like this one (debian/arm*) "You are using a new version of LLVM that hasn't been tested yet! We will try though..."
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