mirror of
https://github.com/microsoft/vcpkg.git
synced 2024-12-13 11:21:47 +08:00
602815cba4
* [uvw] Update to 3.0.0 * update version
20 lines
431 B
Diff
20 lines
431 B
Diff
diff --git a/CMakeLists.txt b/CMakeLists.txt
|
|
index 289c006..180383f 100644
|
|
--- a/CMakeLists.txt
|
|
+++ b/CMakeLists.txt
|
|
@@ -193,6 +193,14 @@ if (BUILD_UVW_LIBS)
|
|
SOVERSION ${UVW_VERSION_MAJOR}
|
|
)
|
|
endif()
|
|
+
|
|
+find_package(libuv CONFIG REQUIRED)
|
|
+if (TARGET uv)
|
|
+ target_link_libraries(uvw PRIVATE uv)
|
|
+else()
|
|
+ target_link_libraries(uvw PRIVATE uv_a)
|
|
+endif()
|
|
+
|
|
install(
|
|
EXPORT uvwConfig
|
|
NAMESPACE uvw::
|