--- 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})
--- 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