hedgewars/sdlmain_osx/CMakeLists.txt
author unc0rr
Sat, 15 Jun 2013 23:45:53 +0400
branchwebgl
changeset 9166 3774ac58e65e
parent 9130 4f4b71da3559
permissions -rw-r--r--
- Fix 'and not' without parentheses - Better detection of such occasions

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)