add_library(common src/tfe_utils.cpp src/tfe_future.cpp src/tfe_http.cpp src/tfe_plugin.cpp src/tfe_rpc.cpp)
target_include_directories(common PUBLIC ${CMAKE_CURRENT_LIST_DIR}/include)
target_link_libraries(common MESA_handle_logger libevent-static libevent-static-openssl libevent-static-pthreads)
### UNITTEST CASE
add_executable(test-addr test/test_addr.cpp)
target_include_directories(test-addr PRIVATE include)
target_link_libraries(test-addr gtest)
include(GoogleTest)
gtest_discover_tests(test-addr)