011d6c98f0
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@11598 178a84e3-b1eb-0310-8ba1-8eac791a3b58
23 lines
337 B
CMake
23 lines
337 B
CMake
# CMakeLists.txt - enet
|
|
|
|
include_directories("include")
|
|
|
|
add_definitions(-DHAS_SOCKLEN_T)
|
|
|
|
add_library(enet
|
|
callbacks.c
|
|
compress.c
|
|
host.c
|
|
list.c
|
|
packet.c
|
|
peer.c
|
|
protocol.c
|
|
unix.c
|
|
win32.c
|
|
)
|
|
|
|
#if(WIN32)
|
|
# find_library(WS2_LIBRARY NAMES "ws2_32" PATHS "C:/Windows/System32")
|
|
# target_link_libraries(enet ${WS2_LIBRARY})
|
|
#endif()
|