hedgewars/sdlmain_osx/CMakeLists.txt
author koda
Tue, 04 Jun 2013 23:56:17 +0200
branchwebgl
changeset 9136 78f087fd3e5b
parent 9130 4f4b71da3559
permissions -rw-r--r--
parsing ok, stops at uGears

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)