diff options
Diffstat (limited to 'ports/libuv')
| -rw-r--r-- | ports/libuv/CONTROL | 4 | ||||
| -rw-r--r-- | ports/libuv/vcpkg-cmake-wrapper.cmake | 4 | ||||
| -rw-r--r-- | ports/libuv/vcpkg.json | 7 |
3 files changed, 9 insertions, 6 deletions
diff --git a/ports/libuv/CONTROL b/ports/libuv/CONTROL deleted file mode 100644 index 27938a4ad..000000000 --- a/ports/libuv/CONTROL +++ /dev/null @@ -1,4 +0,0 @@ -Source: libuv -Version: 1.41.0 -Homepage: https://github.com/libuv/libuv -Description: libuv is a multi-platform support library with a focus on asynchronous I/O. diff --git a/ports/libuv/vcpkg-cmake-wrapper.cmake b/ports/libuv/vcpkg-cmake-wrapper.cmake index 10b6e6498..d95350a6d 100644 --- a/ports/libuv/vcpkg-cmake-wrapper.cmake +++ b/ports/libuv/vcpkg-cmake-wrapper.cmake @@ -3,14 +3,14 @@ _find_package(${ARGS}) if(WIN32)
list(APPEND LibUV_LIBRARIES iphlpapi psapi shell32 userenv ws2_32)
if(TARGET LibUV::LibUV)
- target_link_libraries(LibUV::LibUV INTERFACE iphlpapi psapi shell32 userenv ws2_32)
+ set_property(TARGET LibUV::LibUV APPEND PROPERTY INTERFACE_LINK_LIBRARIES iphlpapi psapi shell32 userenv ws2_32)
endif()
endif()
include(CMakeFindDependencyMacro)
find_dependency(Threads)
list(APPEND LibUV_LIBRARIES Threads::Threads)
if(TARGET LibUV::LibUV)
- target_link_libraries(LibUV::LibUV INTERFACE Threads::Threads)
+ set_property(TARGET LibUV::LibUV APPEND PROPERTY INTERFACE_LINK_LIBRARIES Threads::Threads)
endif()
diff --git a/ports/libuv/vcpkg.json b/ports/libuv/vcpkg.json new file mode 100644 index 000000000..d43b82c54 --- /dev/null +++ b/ports/libuv/vcpkg.json @@ -0,0 +1,7 @@ +{ + "name": "libuv", + "version": "1.41.0", + "port-version": 1, + "description": "libuv is a multi-platform support library with a focus on asynchronous I/O.", + "homepage": "https://github.com/libuv/libuv" +} |
