Skip to content

Commit 2efcac7

Browse files
authored
Add back kqueue support on iOS (#716)
1 parent 318f7e5 commit 2efcac7

File tree

1 file changed

+2
-4
lines changed

1 file changed

+2
-4
lines changed

CMakeLists.txt

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -110,10 +110,8 @@ elseif (APPLE)
110110
list(APPEND EVENT_LOOP_DEFINES "DISPATCH_QUEUE")
111111
endif ()
112112

113-
# Enable KQUEUE on MacOS
114-
if (${CMAKE_SYSTEM_NAME} MATCHES "Darwin")
115-
list(APPEND EVENT_LOOP_DEFINES "KQUEUE")
116-
endif()
113+
# Enable KQUEUE on APPLE platforms
114+
list(APPEND EVENT_LOOP_DEFINES "KQUEUE")
117115

118116
elseif (CMAKE_SYSTEM_NAME STREQUAL "FreeBSD" OR CMAKE_SYSTEM_NAME STREQUAL "NetBSD" OR CMAKE_SYSTEM_NAME STREQUAL "OpenBSD")
119117
file(GLOB AWS_IO_OS_HEADERS

0 commit comments

Comments
 (0)