]> git.proxmox.com Git - ceph.git/blame - ceph/src/jaegertracing/opentelemetry-cpp/tools/vcpkg/ports/aws-c-common/disable-internal-crt-option.patch
update ceph source to reef 18.1.2
[ceph.git] / ceph / src / jaegertracing / opentelemetry-cpp / tools / vcpkg / ports / aws-c-common / disable-internal-crt-option.patch
CommitLineData
1e59de90
TL
1diff --git a/cmake/AwsCFlags.cmake b/cmake/AwsCFlags.cmake
2index 249b7d5..41a31e2 100644
3--- a/cmake/AwsCFlags.cmake
4+++ b/cmake/AwsCFlags.cmake
5@@ -38,15 +38,6 @@ function(aws_set_common_properties target)
6 list(APPEND AWS_C_FLAGS /DAWS_SUPPORT_WIN7=1)
7 endif()
8
9- string(TOUPPER "${CMAKE_BUILD_TYPE}" _CMAKE_BUILD_TYPE)
10- if(STATIC_CRT)
11- string(REPLACE "/MD" "/MT" _FLAGS "${CMAKE_C_FLAGS_${_CMAKE_BUILD_TYPE}}")
12- else()
13- string(REPLACE "/MT" "/MD" _FLAGS "${CMAKE_C_FLAGS_${_CMAKE_BUILD_TYPE}}")
14- endif()
15- string(REPLACE " " ";" _FLAGS "${_FLAGS}")
16- list(APPEND AWS_C_FLAGS "${_FLAGS}")
17-
18 else()
19 list(APPEND AWS_C_FLAGS -Wall -Werror -Wstrict-prototypes)
20