crdt_tests/external/zed_net/CMakeLists.txt

15 lines
279 B
CMake
Raw Permalink Normal View History

2022-12-16 17:18:29 +01:00
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()