solanaceae_sdbot-webui/external/happyhttp/CMakeLists.txt
2024-04-07 11:02:12 +02:00

14 lines
302 B
CMake

cmake_minimum_required(VERSION 3.9 FATAL_ERROR)
add_library(happyhttp STATIC
./happyhttp/happyhttp.h
./happyhttp/happyhttp.cpp
)
target_include_directories(happyhttp PUBLIC .)
target_compile_features(happyhttp PUBLIC cxx_std_11)
if(WIN32)
target_link_libraries(happyhttp iphlpapi ws2_32)
endif()