From aa876a1b1b4bdb09188cf615074668268c2a57db Mon Sep 17 00:00:00 2001 From: Vera Xia Date: Tue, 12 Nov 2024 15:01:04 -0800 Subject: [PATCH] add posix file for non-darwin Apple platform --- CMakeLists.txt | 7 ++----- 1 file changed, 2 insertions(+), 5 deletions(-) diff --git a/CMakeLists.txt b/CMakeLists.txt index 1a128c7e0..52e41d482 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -111,6 +111,8 @@ elseif (APPLE) ) file(GLOB AWS_IO_OS_SRC + "source/bsd/*.c" + "source/posix/*.c" "source/darwin/*.c" ) @@ -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()