mirror of https://github.com/microsoft/vcpkg.git
[uvw] Fix build errors by defining UVW_AS_LIB (#46902)
This commit is contained in:
parent
b664925609
commit
f7068fb72e
|
|
@ -21,6 +21,8 @@ vcpkg_cmake_configure(
|
|||
vcpkg_cmake_install()
|
||||
vcpkg_cmake_config_fixup(CONFIG_PATH lib/cmake/uvw)
|
||||
|
||||
vcpkg_replace_string("${CURRENT_PACKAGES_DIR}/include/uvw/config.h" "#ifndef UVW_AS_LIB" "#define UVW_AS_LIB\n#ifndef UVW_AS_LIB")
|
||||
|
||||
file(READ "${CURRENT_PACKAGES_DIR}/share/uvw/uvwConfig.cmake" cmake_config)
|
||||
file(WRITE "${CURRENT_PACKAGES_DIR}/share/uvw/uvwConfig.cmake"
|
||||
"include(CMakeFindDependencyMacro)
|
||||
|
|
|
|||
|
|
@ -1,6 +1,7 @@
|
|||
{
|
||||
"name": "uvw",
|
||||
"version": "3.2.0",
|
||||
"port-version": 1,
|
||||
"description": "A compilable static library, event based, tiny and easy to use libuv wrapper in modern C++.",
|
||||
"homepage": "https://github.com/skypjack/uvw",
|
||||
"license": "MIT",
|
||||
|
|
|
|||
|
|
@ -9898,7 +9898,7 @@
|
|||
},
|
||||
"uvw": {
|
||||
"baseline": "3.2.0",
|
||||
"port-version": 0
|
||||
"port-version": 1
|
||||
},
|
||||
"uwebsockets": {
|
||||
"baseline": "20.74.0",
|
||||
|
|
|
|||
|
|
@ -1,5 +1,10 @@
|
|||
{
|
||||
"versions": [
|
||||
{
|
||||
"git-tree": "7e8c728dc4f9b6a630f970effb1bbcbda809da6b",
|
||||
"version": "3.2.0",
|
||||
"port-version": 1
|
||||
},
|
||||
{
|
||||
"git-tree": "82ef2ed3a8ae1df65e8e922c5d7917d3271f457d",
|
||||
"version": "3.2.0",
|
||||
|
|
|
|||
Loading…
Reference in New Issue