[rttr] Disable -Werror in order to support android (#37406)

This commit is contained in:
Frank 2024-03-18 22:19:08 +00:00 committed by GitHub
parent 7f629be98d
commit 3850888eb8
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
6 changed files with 21 additions and 4 deletions

View 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"

View File

@ -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")

View File

@ -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",

View File

@ -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

View File

@ -7750,7 +7750,7 @@
},
"rttr": {
"baseline": "0.9.6+20210811",
"port-version": 0
"port-version": 1
},
"rubberband": {
"baseline": "3.3.0",

View File

@ -1,5 +1,10 @@
{
"versions": [
{
"git-tree": "942efa7d91154b3d9841608a015b1c216ca0f251",
"version": "0.9.6+20210811",
"port-version": 1
},
{
"git-tree": "efee986c87a05c8b3257d2aa4d793441af9e970f",
"version": "0.9.6+20210811",