diff Aws/AwsStaticConfiguration.cmake @ 148:c02a830ae308

try
author Sebastien Jodogne <s.jodogne@gmail.com>
date Thu, 20 Jun 2024 18:52:57 +0200
parents d2ebeaa18db2
children 0c93d5b43e58
line wrap: on
line diff
--- a/Aws/AwsStaticConfiguration.cmake	Thu Jun 20 18:45:42 2024 +0200
+++ b/Aws/AwsStaticConfiguration.cmake	Thu Jun 20 18:52:57 2024 +0200
@@ -218,7 +218,7 @@
   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/
+    # ${AWS_C_IO_SOURCES_DIR}/source/windows/iocp/  # Don't add this one
     ${AWS_SDK_CPP_SOURCES_DIR}/src/aws-cpp-sdk-core/source/platform/windows/
     )
 
@@ -250,3 +250,11 @@
   ${AWS_C_COMMON_SOURCES_DIR}/source/arch/generic/cpuid.c
   ${AWS_CHECKSUMS_SOURCES_DIR}/source/generic/crc32c_null.c
   )
+
+
+if(${CMAKE_SYSTEM_NAME} STREQUAL "Windows")
+  list(REMOVE_ITEM AWS_SOURCES
+    # WARNING: "//" *is* important (don't replace it with "/")
+    ${AWS_C_IO_SOURCES_DIR}/source/windows//secure_channel_tls_handler.c
+    )
+endif()