Skip to content

feat: Set compile options using target_compile_reactnative_options#2710

Merged
jakex7 merged 2 commits into
mainfrom
@jakex7/fixReactNative81
Jul 14, 2025
Merged

feat: Set compile options using target_compile_reactnative_options#2710
jakex7 merged 2 commits into
mainfrom
@jakex7/fixReactNative81

Conversation

@jakex7
Copy link
Copy Markdown
Member

@jakex7 jakex7 commented Jul 14, 2025

Summary

PR based on software-mansion/react-native-reanimated#7776 by @tomekzaw.

To support react-native@0.81.0, we need to include RN_SERIALIZABLE_STATE. This can be done using target_compile_reactnative_options, which sets the necessary flags and definitions automatically, instead of setting them manually.

Test Plan

CI is green and tests-example compiles on react-native@0.81.0-rc.

Comment thread android/src/main/jni/CMakeLists.txt Outdated
@jakex7 jakex7 merged commit 1a866ed into main Jul 14, 2025
3 of 4 checks passed
@jakex7 jakex7 deleted the @jakex7/fixReactNative81 branch July 14, 2025 14:17
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants