mirror of
https://github.com/microsoft/vcpkg.git
synced 2024-12-22 20:27:56 +08:00
d30657b533
* [ms-quic] create a new port * rewrite to fix garbled history of #18225 * [ms-quic] update port/version SHA * [ms-quic] disable windows-static triplet * Update ports/ms-quic/vcpkg.json Co-authored-by: Robert Schumacher <roschuma@microsoft.com> * Update ports/ms-quic/vcpkg.json Co-authored-by: Robert Schumacher <roschuma@microsoft.com> * [ms-quic] update patch files * [ms-quic] make quictls only * reduce feature list for future updates * update version SHA Co-authored-by: Robert Schumacher <roschuma@microsoft.com>
23 lines
986 B
Diff
23 lines
986 B
Diff
diff --git a/CMakeLists.txt b/CMakeLists.txt
|
|
index 0f5abcb..aeae310 100644
|
|
--- a/CMakeLists.txt
|
|
+++ b/CMakeLists.txt
|
|
@@ -184,7 +184,7 @@ set(CMAKE_RUNTIME_OUTPUT_DIRECTORY_DEBUG ${QUIC_OUTPUT_DIR})
|
|
set(QUIC_INCLUDE_DIR ${CMAKE_CURRENT_SOURCE_DIR}/src/inc)
|
|
|
|
if (WIN32)
|
|
- set(QUIC_WARNING_FLAGS /WX /W4 /sdl CACHE INTERNAL "")
|
|
+ set(QUIC_WARNING_FLAGS /W4 /sdl CACHE INTERNAL "")
|
|
set(QUIC_COMMON_FLAGS "")
|
|
if("${CMAKE_CXX_COMPILER_ID}" STREQUAL "MSVC")
|
|
list(APPEND QUIC_COMMON_FLAGS /MP)
|
|
@@ -193,7 +193,7 @@ if (WIN32)
|
|
else()
|
|
set(QUIC_COMMON_FLAGS "")
|
|
set(QUIC_COMMON_DEFINES _GNU_SOURCE)
|
|
- set(QUIC_WARNING_FLAGS -Werror -Wall -Wextra -Wformat=2 -Wno-type-limits
|
|
+ set(QUIC_WARNING_FLAGS -Wall -Wextra -Wformat=2 -Wno-type-limits
|
|
-Wno-unknown-pragmas -Wno-multichar -Wno-missing-field-initializers
|
|
CACHE INTERNAL "")
|
|
if (CMAKE_COMPILER_IS_GNUCC AND CMAKE_CXX_COMPILER_VERSION VERSION_LESS 7.0)
|