2019-11-21 17:44:53 -05:00
|
|
|
project(TeaWebDNS)
|
|
|
|
|
|
|
|
# Require libevent
|
2020-01-09 12:50:58 -05:00
|
|
|
set(LIBEVENT_STATIC_LINK TRUE)
|
2019-11-21 17:44:53 -05:00
|
|
|
find_package(Libevent REQUIRED)
|
2019-11-23 09:05:05 -05:00
|
|
|
find_package(spdlog REQUIRED)
|
|
|
|
|
|
|
|
add_executable(TeaWebDNS ./main.cpp src/server.cpp src/handler.cpp src/logger.cpp)
|
2020-01-09 12:50:58 -05:00
|
|
|
target_link_libraries(TeaWebDNS libevent::core libevent::pthreads stdc++fs pthread teadns::parser spdlog::spdlog)
|