]> de.git.xonotic.org Git - xonotic/netradiant.git/blob - libs/l_net/CMakeLists.txt
Merge commit '4ee1a6ee1ae75d52984e54e689ef1e587b384bcb' into master-merge
[xonotic/netradiant.git] / libs / l_net / CMakeLists.txt
1 set(L_NETLIST
2         l_net.c l_net.h
3         )
4 if (WIN32)
5     list(APPEND L_NETLIST l_net_wins.c l_net_wins.h)
6 else ()
7     list(APPEND L_NETLIST l_net_berkley.c)
8 endif ()
9
10 add_library(l_net STATIC ${L_NETLIST})
11
12 if (WIN32)
13     target_link_libraries(l_net PRIVATE ws2_32)
14 endif ()