hedgewars/sdlmain_osx/CMakeLists.txt
author koda
Sun, 09 Jun 2013 12:22:53 +0200
branchwebgl
changeset 9160 fc46e75f6b72
parent 9130 4f4b71da3559
permissions -rw-r--r--
update with default

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)