Fix Windows build

This commit is contained in:
bunnei 2015-01-10 12:32:28 -05:00
parent e7d2118858
commit e213f91373

View File

@ -114,7 +114,7 @@ IF (APPLE)
set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -stdlib=libc++") set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -stdlib=libc++")
set(CMAKE_EXE_LINKER_FLAGS "${CMAKE_EXE_LINKER_FLAGS} -stdlib=libc++") set(CMAKE_EXE_LINKER_FLAGS "${CMAKE_EXE_LINKER_FLAGS} -stdlib=libc++")
ELSEIF(WIN32) ELSEIF(WIN32)
set(PLATFORM_LIBRARIES winmm) set(PLATFORM_LIBRARIES winmm ws2_32)
ELSE() ELSE()
set(PLATFORM_LIBRARIES rt) set(PLATFORM_LIBRARIES rt)
ENDIF (APPLE) ENDIF (APPLE)