Skip to content

Commit

Permalink
add posix file for non-darwin Apple platform
Browse files Browse the repository at this point in the history
  • Loading branch information
xiazhvera committed Nov 12, 2024
1 parent 7b51b56 commit aa876a1
Showing 1 changed file with 2 additions and 5 deletions.
7 changes: 2 additions & 5 deletions CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -111,6 +111,8 @@ elseif (APPLE)
)

file(GLOB AWS_IO_OS_SRC
"source/bsd/*.c"
"source/posix/*.c"
"source/darwin/*.c"
)

Expand All @@ -129,11 +131,6 @@ elseif (APPLE)

# Enable KQUEUE on MacOS
if (${CMAKE_SYSTEM_NAME} MATCHES "Darwin")
file(GLOB AWS_IO_KUEUE_SRC
"source/bsd/*.c"
"source/posix/*.c"
)
list(APPEND AWS_IO_OS_SRC ${AWS_IO_KUEUE_SRC})
list(APPEND EVENT_LOOP_DEFINES "KQUEUE")
endif()

Expand Down

0 comments on commit aa876a1

Please sign in to comment.