mirror of
https://github.com/microsoft/vcpkg.git
synced 2024-11-27 19:09:00 +08:00
[rttr] Disable -Werror in order to support android (#37406)
This commit is contained in:
parent
7f629be98d
commit
3850888eb8
13
ports/rttr/disable-werrorr.patch
Normal file
13
ports/rttr/disable-werrorr.patch
Normal file
@ -0,0 +1,13 @@
|
||||
diff --git a/CMake/utility.cmake b/CMake/utility.cmake
|
||||
index 8e7a0c6..ac5e305 100644
|
||||
--- a/CMake/utility.cmake
|
||||
+++ b/CMake/utility.cmake
|
||||
@@ -395,7 +395,7 @@ function( set_compiler_warnings target)
|
||||
set(WARNINGS "-Werror"
|
||||
"-Wall")
|
||||
elseif(CMAKE_CXX_COMPILER_ID MATCHES "Clang")
|
||||
- set(WARNINGS "-Werror"
|
||||
+ set(WARNINGS
|
||||
"-Wall")
|
||||
elseif(MSVC)
|
||||
set(WARNINGS "/WX"
|
@ -9,6 +9,7 @@ vcpkg_from_github(
|
||||
Fix-depends.patch
|
||||
remove-owner-read-perms.patch
|
||||
disable-unsupport-header.patch
|
||||
disable-werrorr.patch
|
||||
)
|
||||
|
||||
if("${VCPKG_LIBRARY_LINKAGE}" STREQUAL "static" AND "${VCPKG_CRT_LINKAGE}" STREQUAL "static")
|
||||
|
@ -1,6 +1,7 @@
|
||||
{
|
||||
"name": "rttr",
|
||||
"version": "0.9.6+20210811",
|
||||
"port-version": 1,
|
||||
"description": "an easy and intuitive way to use reflection in C++",
|
||||
"homepage": "https://github.com/rttrorg/rttr",
|
||||
"license": "MIT",
|
||||
|
@ -1002,9 +1002,6 @@ rply:arm64-windows=skip
|
||||
rply:x64-linux=skip
|
||||
rply:x64-osx=skip
|
||||
rply:x64-windows-static-md=skip
|
||||
rttr:arm-neon-android=fail
|
||||
rttr:arm64-android=fail
|
||||
rttr:x64-android=fail
|
||||
salome-medcoupling:x64-linux=fail
|
||||
scintilla:arm-neon-android=fail
|
||||
scintilla:arm64-android=fail
|
||||
|
@ -7750,7 +7750,7 @@
|
||||
},
|
||||
"rttr": {
|
||||
"baseline": "0.9.6+20210811",
|
||||
"port-version": 0
|
||||
"port-version": 1
|
||||
},
|
||||
"rubberband": {
|
||||
"baseline": "3.3.0",
|
||||
|
@ -1,5 +1,10 @@
|
||||
{
|
||||
"versions": [
|
||||
{
|
||||
"git-tree": "942efa7d91154b3d9841608a015b1c216ca0f251",
|
||||
"version": "0.9.6+20210811",
|
||||
"port-version": 1
|
||||
},
|
||||
{
|
||||
"git-tree": "efee986c87a05c8b3257d2aa4d793441af9e970f",
|
||||
"version": "0.9.6+20210811",
|
||||
|
Loading…
Reference in New Issue
Block a user