mirror of
https://github.com/Green-Sky/crdt_tests.git
synced 2024-12-22 15:53:24 +01:00
15 lines
279 B
CMake
15 lines
279 B
CMake
cmake_minimum_required(VERSION 3.8 FATAL_ERROR)
|
|
|
|
add_library(zed_net
|
|
./zed_net.h
|
|
./zed_net.c
|
|
)
|
|
|
|
target_include_directories(zed_net PUBLIC "${CMAKE_CURRENT_SOURCE_DIR}")
|
|
|
|
if(WIN32)
|
|
#target_link_libraries(zed_net ws2_32 iphlpapi)
|
|
target_link_libraries(zed_net ws2_32)
|
|
endif()
|
|
|