diff options
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": [ |
