mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2024-11-14 21:37:52 -07:00
16 lines
290 B
CMake
16 lines
290 B
CMake
|
set(SRCS
|
||
|
callbacks.c
|
||
|
compress.c
|
||
|
host.c
|
||
|
list.c
|
||
|
packet.c
|
||
|
peer.c
|
||
|
protocol.c)
|
||
|
if(${CMAKE_SYSTEM_NAME} MATCHES "Windows")
|
||
|
set(SRCS ${SRCS} win32.c)
|
||
|
else()
|
||
|
set(SRCS ${SRCS} unix.c)
|
||
|
endif()
|
||
|
add_definitions(-Wno-parentheses-equality -DHAS_SOCKLEN_T)
|
||
|
add_library(enet STATIC ${SRCS})
|