# HG changeset patch # User koda # Date 1447686117 -3600 # Node ID fac466eb0c4d416daf8987a6fe6d9e8b8e1a0331 # Parent ed6bb8c066b313914f7a4cf4383eb13c6cf1d36a hwc: Do not rename main on OSX diff -r ed6bb8c066b3 -r fac466eb0c4d project_files/hwc/CMakeLists.txt --- a/project_files/hwc/CMakeLists.txt Mon Nov 16 15:22:05 2015 +0100 +++ b/project_files/hwc/CMakeLists.txt Mon Nov 16 16:01:57 2015 +0100 @@ -94,9 +94,5 @@ m #TODO: add other libraries ) -if(APPLE) - target_link_libraries(hwengine SDLmain) -endif() - install(PROGRAMS "${EXECUTABLE_OUTPUT_PATH}/hwengine${CMAKE_EXECUTABLE_SUFFIX}" DESTINATION ${target_binary_install_dir}) diff -r ed6bb8c066b3 -r fac466eb0c4d project_files/hwc/rtl/fpcrtl.h --- a/project_files/hwc/rtl/fpcrtl.h Mon Nov 16 15:22:05 2015 +0100 +++ b/project_files/hwc/rtl/fpcrtl.h Mon Nov 16 16:01:57 2015 +0100 @@ -14,9 +14,6 @@ #include "pmath.h" #ifndef EMSCRIPTEN -#if __APPLE__ -#define main SDL_main -#endif #include "GL/glew.h" #endif