win32 main

This commit is contained in:
Eduardo Bart
2011-05-16 20:56:57 -03:00
parent 2d3add1b36
commit c5b462d5b9
2 changed files with 14 additions and 2 deletions

View File

@@ -111,7 +111,7 @@ SET(SOURCES
IF(WIN32)
SET(SOURCES ${SOURCES} src/framework/platform/win32platform.cpp)
SET(ADDITIONAL_LIBRARIES ws2_32)
ADD_DEFINITIONS(-D_WIN32_WINNT=0x0501)
ADD_DEFINITIONS(-D_WIN32_WINNT=0x0501 -DWIN32_NO_CONSOLE)
ELSE(WIN32)
SET(SOURCES ${SOURCES} src/framework/platform/x11platform.cpp)
SET(ADDITIONAL_LIBRARIES pthread GLU)