mirror of
https://github.com/microsoft/vcpkg.git
synced 2024-12-12 14:41:37 +08:00
9f73bc1a0e
* Fix repeated inclusion of wrappers * x-add-version
17 lines
525 B
CMake
17 lines
525 B
CMake
_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()
|
|
|
|
|