blob: 6e6d860d1fb27cd0626d3e96980afef3f5124368 (
plain)
1
2
3
4
5
6
|
The package nethost can be used via CMake:
find_path(NETHOST_INCLUDE_DIRS nethost.h)
find_library(NETHOST_LIBRARY NAMES libnethost nethost)
target_include_directories(main PRIVATE ${NETHOST_INCLUDE_DIRS})
target_link_libraries(main PRIVATE ${NETHOST_LIBRARY})
|