forked from suyu/suyu
Fix Windows build
This commit is contained in:
parent
e7d2118858
commit
e213f91373
1 changed files with 1 additions and 1 deletions
|
@ -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)
|
||||||
|
|
Loading…
Reference in a new issue