hedgewars/CMakeLists.txt
branchsdl2transition
changeset 11378 cef3fef64c93
parent 11377 ee86941e2ade
child 11392 f4e19cd88747
--- a/hedgewars/CMakeLists.txt	Sat Nov 14 03:00:41 2015 +0100
+++ b/hedgewars/CMakeLists.txt	Sat Nov 14 03:09:24 2015 +0100
@@ -124,12 +124,6 @@
 
 #DEPENDECIES AND EXECUTABLES SECTION
 if(APPLE AND (NOT BUILD_ENGINE_LIBRARY))
-    #on OSX we need to provide the SDL_main() function when building as
-    #executable and the entry point too
-    add_subdirectory(sdlmain)
-    list(APPEND HW_LINK_LIBS SDLmain)
-    add_flag_append(CMAKE_Pascal_FLAGS "-k-lsdlmain")
-    add_flag_append(CMAKE_Pascal_FLAGS "-XMSDL_main")
     #OpenGL deps
     add_flag_append(CMAKE_Pascal_FLAGS "-k-framework -kCocoa")
     add_flag_append(CMAKE_Pascal_FLAGS "-k-framework -kOpenGL")