mirror of
https://github.com/microsoft/vcpkg.git
synced 2024-11-25 03:19:01 +08:00
cf3e688dda
* [aws-c-common]Upgrade to 0.4.15 * [aws-c-common]Fix cmake target path. * [aws-c-event-stream]Upgrade to 0.1.4 * [aws-checksums]Upgrade to 0.1.5 [aws-c-event-stream]Fix cmake target path. [aws-lambda-cpp]Upgrade to 0.2.4 [aws-sdk-cpp]Upgrade to 1.7.214 * [aws=sdk-cpp]Set feature AWSMigrationHub to lowercase. * [aws-lambda-cpp] Drop support with OSX
21 lines
859 B
Diff
21 lines
859 B
Diff
diff --git a/cmake/AwsCFlags.cmake b/cmake/AwsCFlags.cmake
|
|
index 42d146e..813f56d 100644
|
|
--- a/cmake/AwsCFlags.cmake
|
|
+++ b/cmake/AwsCFlags.cmake
|
|
@@ -39,15 +39,6 @@ function(aws_set_common_properties target)
|
|
# Since we want to be compatible with user builds using /volatile:iso, use it for the tests.
|
|
list(APPEND AWS_C_FLAGS /volatile:iso)
|
|
|
|
- string(TOUPPER "${CMAKE_BUILD_TYPE}" _CMAKE_BUILD_TYPE)
|
|
- if(STATIC_CRT)
|
|
- string(REPLACE "/MD" "/MT" _FLAGS "${CMAKE_C_FLAGS_${_CMAKE_BUILD_TYPE}}")
|
|
- else()
|
|
- string(REPLACE "/MT" "/MD" _FLAGS "${CMAKE_C_FLAGS_${_CMAKE_BUILD_TYPE}}")
|
|
- endif()
|
|
- string(REPLACE " " ";" _FLAGS "${_FLAGS}")
|
|
- list(APPEND AWS_C_FLAGS "${_FLAGS}")
|
|
-
|
|
else()
|
|
list(APPEND AWS_C_FLAGS -Wall -Werror -Wstrict-prototypes)
|
|
|