hedgewars/CMakeLists.txt
changeset 9961 c18c66d621e5
parent 9959 1a42d36f346a
child 9963 9e75dbffec81
equal deleted inserted replaced
9959:1a42d36f346a 9961:c18c66d621e5
   104 
   104 
   105 #generic folder where our libraries reside
   105 #generic folder where our libraries reside
   106 add_flag_append(CMAKE_Pascal_FLAGS "-Fl${LIBRARY_OUTPUT_PATH}")
   106 add_flag_append(CMAKE_Pascal_FLAGS "-Fl${LIBRARY_OUTPUT_PATH}")
   107 
   107 
   108 #DEPENDECIES AND EXECUTABLES SECTION
   108 #DEPENDECIES AND EXECUTABLES SECTION
   109 if(NOT ${BUILD_ENGINE_LIBRARY} AND APPLE)
   109 if(APPLE AND (NOT BUILD_ENGINE_LIBRARY))
   110     #on OSX we need to provide the SDL_main() function when building as executable
   110     #on OSX we need to provide the SDL_main() function when building as executable
   111     add_subdirectory(sdlmain)
   111     add_subdirectory(sdlmain)
   112     list(APPEND HW_LINK_LIBS SDLmain)
   112     list(APPEND HW_LINK_LIBS SDLmain)
   113 endif()
   113 endif()
   114 
   114