mirror of https://git.suyu.dev/suyu/suyu
Fix Windows build
This commit is contained in:
parent
e7d2118858
commit
e213f91373
|
@ -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 New Issue