aboutsummaryrefslogtreecommitdiff
path: root/vcpkg/ports/msquic/fix-uwp-crt.patch
diff options
context:
space:
mode:
Diffstat (limited to 'vcpkg/ports/msquic/fix-uwp-crt.patch')
-rw-r--r--vcpkg/ports/msquic/fix-uwp-crt.patch17
1 files changed, 17 insertions, 0 deletions
diff --git a/vcpkg/ports/msquic/fix-uwp-crt.patch b/vcpkg/ports/msquic/fix-uwp-crt.patch
new file mode 100644
index 0000000..1eb3f74
--- /dev/null
+++ b/vcpkg/ports/msquic/fix-uwp-crt.patch
@@ -0,0 +1,17 @@
+diff --git a/CMakeLists.txt b/CMakeLists.txt
+index 3f8f4d58f..df689627c 100644
+--- a/CMakeLists.txt
++++ b/CMakeLists.txt
+@@ -598,9 +598,9 @@ if(WIN32)
+ endif()
+
+ if (NOT QUIC_STATIC_LINK_CRT AND NOT QUIC_STATIC_LINK_PARTIAL_CRT)
+- # We are using dynamic linking. Ensure that only the release version of CRT is used.
+- message(STATUS "Configuring for release version of dynamically linked CRT")
+- set(CMAKE_MSVC_RUNTIME_LIBRARY "MultiThreadedDLL")
++ # We are using dynamic linking. Ensure that only the dynamic CRT is used.
++ message(STATUS "Configuring for dynamically linked CRT")
++ set(CMAKE_MSVC_RUNTIME_LIBRARY "MultiThreaded$<$<CONFIG:Debug>:Debug>DLL")
+ endif()
+
+ else() #!WIN32