mirror of
https://github.com/microsoft/vcpkg.git
synced 2024-12-21 23:00:36 +08:00
3856a6bda7
* [many ports] Update version * [aws-checksums] Add dependency aws-c-common * update version * port updates * port updates * Update ports/brotli/CONTROL * [draco] fix uwp build * [blosc] Fix win static build * [blosc] fix unix build * move changes to other PRs * Remove unuse patches
21 lines
765 B
Diff
21 lines
765 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 -Werror -Wstrict-prototypes)
|
|
|