vcpkg/ports/msgpack11/disable-werror.patch
Billy O'Neal 957d2024b8
Update to Ubuntu 20.04. (#18892)
* Update Ubuntu to 20.04.

* [tfhe] Disable -Wall -Werror

* [sophus] Disable -Werror.

* Fix typo in deployment of CUDA.

* Add libxxf86vm-dev for opensubdiv.

* [opensubdiv] Fix OpenCL search on Ubuntu 20.04, and document libxxf86vm-dev dependency

* [msgpack11] Disable -Werror.

* [qtwayland, qt5wayland] Add system library notice.

* Add python-is-python3 to unbreak tensorflow, v8, and others

* [graphqlparser] Remove directive rejected by Bison 3.5.1

* [ogdf] Mark as failing in ci.baseline.txt. Issue filed https://github.com/microsoft/vcpkg/issues/18936

* [bde] Mark failing in ci.baseline.txt, issue filed https://github.com/microsoft/vcpkg/issues/18937

* [soem] Patch out -Werror

* Update pool.
2021-07-14 12:46:05 -07:00

15 lines
517 B
Diff

diff --git a/CMakeLists.txt b/CMakeLists.txt
index 080cefa..b73072a 100644
--- a/CMakeLists.txt
+++ b/CMakeLists.txt
@@ -9,9 +9,6 @@ set(CMAKE_CXX_STANDARD_REQUIRED ON)
add_library(msgpack11 STATIC msgpack11.cpp)
target_include_directories(msgpack11 PUBLIC ${CMAKE_CURRENT_SOURCE_DIR})
target_compile_options(msgpack11 PRIVATE -fno-rtti)
-if(NOT MSVC)
- target_compile_options(msgpack11 PRIVATE -Wall -Wextra -Werror)
-endif()
configure_file("msgpack11.pc.in" "msgpack11.pc" @ONLY)
if (MSGPACK11_BUILD_TESTS)