changeset 157:a8ab611d82a3

fix for msvc
author Sebastien Jodogne <s.jodogne@gmail.com>
date Sat, 22 Jun 2024 18:06:30 +0200
parents cb9b4d8c75a2
children 4a8bedae63b1
files Aws/AwsStaticConfiguration.cmake
diffstat 1 files changed, 4 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/Aws/AwsStaticConfiguration.cmake	Sat Jun 22 17:36:41 2024 +0200
+++ b/Aws/AwsStaticConfiguration.cmake	Sat Jun 22 18:06:30 2024 +0200
@@ -279,6 +279,10 @@
 
 
 if(${CMAKE_SYSTEM_NAME} STREQUAL "Windows")
+  list(APPEND AWS_SOURCES
+    ${AWS_C_COMMON_SOURCES_DIR}/source/platform_fallback_stubs/system_info.c
+    )
+
   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