early-access version 2853
This commit is contained in:
16
externals/vcpkg/ports/libuv/vcpkg-cmake-wrapper.cmake
vendored
Executable file
16
externals/vcpkg/ports/libuv/vcpkg-cmake-wrapper.cmake
vendored
Executable file
@@ -0,0 +1,16 @@
|
||||
_find_package(${ARGS})
|
||||
|
||||
if(WIN32)
|
||||
list(APPEND LibUV_LIBRARIES iphlpapi psapi shell32 userenv ws2_32)
|
||||
if(TARGET LibUV::LibUV)
|
||||
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)
|
||||
set_property(TARGET LibUV::LibUV APPEND PROPERTY INTERFACE_LINK_LIBRARIES Threads::Threads)
|
||||
endif()
|
||||
|
||||
|
||||
Reference in New Issue
Block a user