vcpkg/ports/nethost/usage
Tanner Gooding fb2006edf9 [nethost] Adding a port for nethost (#8701)
* Adding a port for nethost

* Fixing ref, removing unneeded include, and marking unsupported architectures for nethost

* Fixing the expected sha512 for nethost

* Setting nethost to fail on static and uwp

* Removing an unecessary file(REMOVE_RECURSE) from nethost

* update baseline

* [nethost] Update to latest from dotnet/runtime

* [vcpkg-baseline] Update baseline for nethost

* [vcpkg-baseline] Update baseline for nethost

Co-authored-by: Jack·Boos·Yu <47264268+JackBoosY@users.noreply.github.com>
Co-authored-by: Robert Schumacher <roschuma@microsoft.com>
2020-01-06 13:14:20 -08:00

7 lines
283 B
Plaintext

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})