mirror of
https://github.com/microsoft/vcpkg.git
synced 2024-12-22 23:47:50 +08:00
143ae13d28
* [aws-c-common]Upgrade version to 0.3.11 * [aws-c-common]Fix dependency port build error. * [aws-c-common]Disable internal crt option because vcpkg contains crt processing flow
21 lines
774 B
Diff
21 lines
774 B
Diff
diff --git a/cmake/AwsCFlags.cmake b/cmake/AwsCFlags.cmake
|
|
index 5ceb11c..9d0aa12 100644
|
|
--- a/cmake/AwsCFlags.cmake
|
|
+++ b/cmake/AwsCFlags.cmake
|
|
@@ -38,15 +38,6 @@ function(aws_set_common_properties target)
|
|
# Disable unknown pragma warnings
|
|
list(APPEND AWS_C_FLAGS /wd4068)
|
|
|
|
- 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)
|
|
|