mirror of
https://github.com/microsoft/vcpkg.git
synced 2024-11-25 11:49:00 +08:00
fb2006edf9
* 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>
7 lines
283 B
Plaintext
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})
|