mirror of
https://github.com/zoriya/react-native-svg.git
synced 2026-05-06 13:07:36 +00:00
Build renderer/components/rnsvg with -std=c++20 (#2141)
This commit is contained in:
@@ -27,7 +27,7 @@ Pod::Spec.new do |s|
|
||||
ss.header_dir = "rnsvg"
|
||||
ss.pod_target_xcconfig = { "HEADER_SEARCH_PATHS" => "\"$(PODS_TARGET_SRCROOT)/common/cpp\"" }
|
||||
end
|
||||
else
|
||||
else
|
||||
s.platforms = { :osx => "10.14", :ios => "10.0", :tvos => "9.2" }
|
||||
s.exclude_files = 'apple/Utils/RNSVGFabricConversions.h'
|
||||
s.dependency 'React-Core'
|
||||
|
||||
@@ -10,7 +10,7 @@ set(RNS_GENERATED_REACT_DIR ${RNS_GENERATED_JNI_DIR}/react/renderer/components/r
|
||||
add_compile_options(
|
||||
-fexceptions
|
||||
-frtti
|
||||
-std=c++17
|
||||
-std=c++20
|
||||
-Wall
|
||||
-Wpedantic
|
||||
-Wno-gnu-zero-variadic-macro-arguments
|
||||
|
||||
Reference in New Issue
Block a user