aboutsummaryrefslogtreecommitdiff
path: root/ports/nethost/usage
diff options
context:
space:
mode:
Diffstat (limited to 'ports/nethost/usage')
-rw-r--r--ports/nethost/usage6
1 files changed, 6 insertions, 0 deletions
diff --git a/ports/nethost/usage b/ports/nethost/usage
new file mode 100644
index 000000000..6e6d860d1
--- /dev/null
+++ b/ports/nethost/usage
@@ -0,0 +1,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})