Skip to content

Commit

Permalink
Use c++17 for fabric on iOS (#1360)
Browse files Browse the repository at this point in the history
Set CLANG_CXX_LANGUAGE_STANDARD to c++17 if fabric is enabled
  • Loading branch information
janicduplessis authored Mar 17, 2022
1 parent e71a9f7 commit 8442950
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion RNScreens.podspec
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,8 @@ Pod::Spec.new do |s|

if fabric_enabled
s.pod_target_xcconfig = {
'HEADER_SEARCH_PATHS' => '"$(PODS_ROOT)/boost" "$(PODS_ROOT)/boost-for-react-native" "$(PODS_ROOT)/RCT-Folly"'
'HEADER_SEARCH_PATHS' => '"$(PODS_ROOT)/boost" "$(PODS_ROOT)/boost-for-react-native" "$(PODS_ROOT)/RCT-Folly"',
"CLANG_CXX_LANGUAGE_STANDARD" => "c++17",
}
s.platforms = { ios: '11.0', tvos: '11.0' }
s.compiler_flags = folly_compiler_flags
Expand Down

0 comments on commit 8442950

Please sign in to comment.