# HG changeset patch # User Sebastien Jodogne # Date 1718902377 -7200 # Node ID c02a830ae308d52b9a3780578d1b361797d4844c # Parent d2ebeaa18db2dd5e1c014b401373ff01ada726e5 try diff -r d2ebeaa18db2 -r c02a830ae308 Aws/AwsStaticConfiguration.cmake --- 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()