mirror of
https://github.com/microsoft/vcpkg.git
synced 2024-12-17 06:27:48 +08:00
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})
|