diff options
| author | Ahmed Yarub Hani Al Nuaimi <ahmedyarub@yahoo.com> | 2021-09-13 18:44:22 -0300 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2021-09-13 14:44:22 -0700 |
| commit | 20f85de001381fe3df9e951ee412639e6604ef9c (patch) | |
| tree | 10096116ca06cbe7945244a7ca642c4dce4a2488 /ports | |
| parent | 0adcf54f037b5bb4837e0905ab63f0ca0d4cd3b4 (diff) | |
| download | vcpkg-20f85de001381fe3df9e951ee412639e6604ef9c.tar.gz vcpkg-20f85de001381fe3df9e951ee412639e6604ef9c.zip | |
[Libuv] Fix iOS Build (#20117)
* Use MacOS (Darwin) source files for building iOS version
* Update version
* Update version
Co-authored-by: Ahmed Yarub Hani Al Nuaimi <ahmed.alnuaimi@zwift.com>
Diffstat (limited to 'ports')
| -rw-r--r-- | ports/libuv/CMakeLists.txt | 2 | ||||
| -rw-r--r-- | ports/libuv/vcpkg.json | 1 |
2 files changed, 2 insertions, 1 deletions
diff --git a/ports/libuv/CMakeLists.txt b/ports/libuv/CMakeLists.txt index d400b60ba..7d2c38bdb 100644 --- a/ports/libuv/CMakeLists.txt +++ b/ports/libuv/CMakeLists.txt @@ -55,7 +55,7 @@ if(CMAKE_SYSTEM_NAME STREQUAL "Windows" OR CMAKE_SYSTEM_NAME STREQUAL "WindowsSt add_library(libuv ${UV_SOURCES_COMMON} ${UV_SOURCES_WIN}) target_compile_definitions(libuv PRIVATE WIN32_LEAN_AND_MEAN "_WIN32_WINNT=0x0600") target_link_libraries(libuv PRIVATE iphlpapi psapi shell32 userenv ws2_32) -elseif(CMAKE_SYSTEM_NAME STREQUAL "Darwin") +elseif(APPLE) add_library(libuv ${UV_SOURCES_COMMON} ${UV_SOURCES_UNIX} ${UV_SOURCES_DARWIN}) elseif(CMAKE_SYSTEM_NAME STREQUAL "FreeBSD") add_library(libuv ${UV_SOURCES_COMMON} ${UV_SOURCES_UNIX} ${UV_SOURCES_FREEBSD}) diff --git a/ports/libuv/vcpkg.json b/ports/libuv/vcpkg.json index 44b67b26c..5033ece2a 100644 --- a/ports/libuv/vcpkg.json +++ b/ports/libuv/vcpkg.json @@ -1,6 +1,7 @@ { "name": "libuv", "version-semver": "1.42.0", + "port-version": 1, "description": "libuv is a multi-platform support library with a focus on asynchronous I/O.", "homepage": "https://github.com/libuv/libuv", "dependencies": [ |
