WebDNS/server/CMakeLists.txt

11 lines
374 B
CMake
Raw Normal View History

2019-11-21 23:44:53 +01:00
project(TeaWebDNS)
# Require libevent
find_package(Libevent REQUIRED)
include_directories(${LIBEVENT_INCLUDE_DIRS})
message(${LIBEVENT_INCLUDE_DIRS})
find_package(spdlog REQUIRED)
add_executable(TeaWebDNS ./main.cpp src/server.cpp src/handler.cpp src/logger.cpp)
target_link_libraries(TeaWebDNS ${LIBEVENT_STATIC_LIBRARIES} stdc++fs pthread teadns::parser spdlog::spdlog)