hedgewars/sdlmain_osx/CMakeLists.txt
author koda
Sun, 09 Jun 2013 12:28:11 +0200
branchwebgl
changeset 9162 2c6ad606f4fb
parent 9130 4f4b71da3559
permissions -rw-r--r--
lua warning with clang

if(APPLE)
    #let's look for the installed sdlmain file; if it is not found, let's build our own
    find_package(SDL REQUIRED)

    include_directories(${SDL_INCLUDE_DIR})
    add_library (SDLmain STATIC ${CMAKE_CURRENT_SOURCE_DIR}/SDLMain.m)
endif(APPLE)