mirror of
https://github.com/oxen-io/oxen-core.git
synced 2023-12-14 02:22:56 +01:00
Don't build libuv on ios
This commit is contained in:
parent
96245f81d5
commit
6adb9f8ac2
2
external/CMakeLists.txt
vendored
2
external/CMakeLists.txt
vendored
|
@ -118,7 +118,7 @@ target_include_directories(uSockets PRIVATE uWebSockets/uSockets/src)
|
|||
|
||||
# On Windows uSockets uses libuv for its event loop; on Mac kqueue is the default, but that seems to
|
||||
# not be reliable on older macos versions (like 10.12), so we use libuv on macos as well.
|
||||
if (WIN32 OR APPLE)
|
||||
if (WIN32 OR (APPLE AND NOT IOS))
|
||||
add_subdirectory(libuv EXCLUDE_FROM_ALL)
|
||||
target_link_libraries(uSockets uv_a)
|
||||
target_compile_definitions(uSockets PUBLIC LIBUS_USE_LIBUV)
|
||||
|
|
Loading…
Reference in a new issue