14 lines
402 B
CMake
14 lines
402 B
CMake
function(link_system_libs target_name)
|
|
if (WIN32)
|
|
target_link_libraries(${target_name} winmm)
|
|
elseif (APPLE)
|
|
target_link_libraries(${target_name} pthread m dl)
|
|
elseif (UNIX)
|
|
target_link_libraries(${target_name} pthread m dl atomic)
|
|
endif()
|
|
endfunction()
|
|
|
|
macro(populate_pkt_srcs)
|
|
file(GLOB PKT_SRCS ../../common/packets/*.h ../../common/packets/*.c)
|
|
endmacro()
|