hedgewars/sdlmain_osx/CMakeLists.txt
branchwebgl
changeset 9238 84e591af6c29
parent 9236 ddd675825672
child 9240 3a6608ae0a5e
equal deleted inserted replaced
9236:ddd675825672 9238:84e591af6c29
     1 if(APPLE)
       
     2     #let's look for the installed sdlmain file; if it is not found, let's build our own
       
     3     find_package(SDL REQUIRED)
       
     4 
       
     5     include_directories(${SDL_INCLUDE_DIR})
       
     6     add_library (SDLmain STATIC ${CMAKE_CURRENT_SOURCE_DIR}/SDLMain.m)
       
     7 endif(APPLE)
       
     8