We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 99da121 commit 2099e8cCopy full SHA for 2099e8c
1 file changed
packages/react-native-gesture-handler/android/src/main/jni/CMakeLists.txt
@@ -27,14 +27,10 @@ target_include_directories(
27
28
find_package(ReactAndroid REQUIRED CONFIG)
29
find_package(fbjni REQUIRED CONFIG)
30
-if (ReactAndroid_VERSION_MINOR GREATER_EQUAL 76)
31
- find_package(fbjni REQUIRED CONFIG)
32
- target_link_libraries(
33
- ${PACKAGE_NAME}
34
- ReactAndroid::reactnative
35
- ReactAndroid::jsi
36
- fbjni::fbjni
37
- )
38
-else ()
39
- message(FATAL_ERROR "react-native-gesture-handler on the New Architecture requires react-native 0.76 or newer.")
40
-endif ()
+
+target_link_libraries(
+ ${PACKAGE_NAME}
+ ReactAndroid::reactnative
+ ReactAndroid::jsi
+ fbjni::fbjni
+)
0 commit comments