File tree Expand file tree Collapse file tree
packages/react-native-gesture-handler/android Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -14,6 +14,10 @@ add_library(
1414 ${rn_gesture_handler_codegen_SRCS}
1515)
1616
17+ if (ReactAndroid_VERSION_MINOR GREATER_EQUAL 80)
18+ target_compile_reactnative_options (react_codegen_rngesturehandler_codegen PRIVATE )
19+ endif ()
20+
1721target_include_directories (react_codegen_rngesturehandler_codegen PUBLIC ../shared/shadowNodes )
1822target_include_directories (react_codegen_rngesturehandler_codegen PUBLIC ./build/generated/source/codegen/jni )
1923
Original file line number Diff line number Diff line change @@ -38,6 +38,10 @@ target_include_directories(
3838 "${REACT_NATIVE_DIR} /ReactCommon"
3939)
4040
41+ if (ReactAndroid_VERSION_MINOR GREATER_EQUAL 80)
42+ target_compile_reactnative_options (${LIB_TARGET_NAME} PRIVATE )
43+ endif ()
44+
4145find_package (ReactAndroid REQUIRED CONFIG )
4246find_package (fbjni REQUIRED CONFIG )
4347
You can’t perform that action at this time.
0 commit comments