mirror of
https://github.com/microsoft/vcpkg.git
synced 2024-11-25 23:39:10 +08:00
17 lines
467 B
CMake
17 lines
467 B
CMake
|
_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)
|
||
|
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)
|
||
|
endif()
|
||
|
|
||
|
|