add_library(Nng Buffer.h Buffer.cpp ErrorCode.h ErrorCode.cpp Listener.h Listener.cpp Message.h Message.cpp Socket.h Socket.cpp SocketAisoWrapper.h SocketAisoWrapper.cpp ) target_include_directories(Nng PUBLIC ${CMAKE_CURRENT_SOURCE_DIR} PUBLIC ${NNG_INCLUDE_DIR} PUBLIC ${Boost_INCLUDE_DIRS} ) target_link_directories(Nng PUBLIC ${MBEDTLS_LIBRARY_DIRS} PUBLIC ${NNG_LIBRARY_DIRS} ) target_link_libraries(Nng PUBLIC nng PUBLIC mbedtls PUBLIC mbedcrypto PUBLIC mbedx509 )