mirror of
https://github.com/microsoft/vcpkg.git
synced 2024-12-21 18:57:50 +08:00
a1c6edd6ed
* Update libuv to 1.27.0 * Update uvw to 1.15.0
26 lines
499 B
CMake
26 lines
499 B
CMake
cmake_minimum_required(VERSION 3.8)
|
|
project(uvw)
|
|
|
|
find_package(unofficial-libuv CONFIG REQUIRED)
|
|
|
|
add_library(uvw INTERFACE)
|
|
target_link_libraries(uvw INTERFACE unofficial::libuv::libuv)
|
|
|
|
install(TARGETS uvw
|
|
EXPORT uvw
|
|
INCLUDES DESTINATION include/)
|
|
|
|
install(EXPORT uvw
|
|
DESTINATION "share/uvw"
|
|
FILE uvw-targets.cmake
|
|
NAMESPACE uvw::)
|
|
|
|
install(DIRECTORY
|
|
src/uvw/
|
|
DESTINATION include/uvw/)
|
|
|
|
install(FILES
|
|
src/uvw.hpp
|
|
DESTINATION include/
|
|
)
|