changeset 149:0c93d5b43e58

fix
author Sebastien Jodogne <s.jodogne@gmail.com>
date Thu, 20 Jun 2024 21:06:44 +0200
parents c02a830ae308
children 938aee2b5f69
files Aws/AwsStaticConfiguration.cmake
diffstat 1 files changed, 6 insertions(+), 2 deletions(-) [+]
line wrap: on
line diff
--- a/Aws/AwsStaticConfiguration.cmake	Thu Jun 20 18:52:57 2024 +0200
+++ b/Aws/AwsStaticConfiguration.cmake	Thu Jun 20 21:06:44 2024 +0200
@@ -218,13 +218,17 @@
   list(APPEND AWS_SOURCES_SUBDIRS
     ${AWS_C_COMMON_SOURCES_DIR}/source/windows/
     ${AWS_C_IO_SOURCES_DIR}/source/windows/
-    # ${AWS_C_IO_SOURCES_DIR}/source/windows/iocp/  # Don't add this one
+    ${AWS_C_IO_SOURCES_DIR}/source/windows/iocp/
     ${AWS_SDK_CPP_SOURCES_DIR}/src/aws-cpp-sdk-core/source/platform/windows/
     )
 
+  add_definitions(
+    -DAWS_USE_IO_COMPLETION_PORTS=1
+    )
+
   set(AWSSDK_LINK_LIBRARIES
+    # secur32
     ncrypt
-    secur32
     shlwapi
     userenv
     version