mirror of
https://github.com/microsoft/vcpkg.git
synced 2024-12-31 05:03:22 +08:00
c1c253fabc
* Add curl try_compile parameters Don't set compiler when compiling for iOS * Update OpenSSL and AWS SDK for C++ port versions * [vcpkg baseline][marble] Disable find I18n * update version record * Update versions/a-/aws-sdk-cpp.json * Update versions/o-/openssl.json * Fix port-versions after merging master branch * Update versions/a-/aws-sdk-cpp.json * Update versions/o-/openssl.json * Fix merge conflicts * Merge master branch * Refactor OpenSSL's build script * Refactor OpenSSL's build script * Fix version * Fix WASM build * Fix version * Fix disabled flags * Disable treating warnings as errors * Disable treating warnings as errors * Fix hashes * fix indentation * [aws-sdk-cpp] use the powershell file to generate * Fix versions after merging * Fix versions after merging Co-authored-by: Ahmed Yarub Hani Al Nuaimi <ahmed.alnuaimi@zwift.com> Co-authored-by: JackBoosY <yuzaiyang@beyondsoft.com> Co-authored-by: Jack·Boos·Yu <47264268+JackBoosY@users.noreply.github.com> Co-authored-by: nicole mazzuca <mazzucan@outlook.com>
21 lines
757 B
Diff
21 lines
757 B
Diff
diff --git a/cmake/AwsCFlags.cmake b/cmake/AwsCFlags.cmake
|
|
index 249b7d5..41a31e2 100644
|
|
--- a/cmake/AwsCFlags.cmake
|
|
+++ b/cmake/AwsCFlags.cmake
|
|
@@ -38,15 +38,6 @@ function(aws_set_common_properties target)
|
|
list(APPEND AWS_C_FLAGS /DAWS_SUPPORT_WIN7=1)
|
|
endif()
|
|
|
|
- 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 -Wstrict-prototypes)
|
|
|