Skip to content

Commit

Permalink
Update worklets CMakeLists.txt to workaround V8EXECUTOR_LIB NOTFOUND …
Browse files Browse the repository at this point in the history
…error

Using v8 javascript engine was causing react-native-reanimated gradle build to fail:
#3570

Changing the `V8_SO_DIR` according to the recommendation from @reinismu fixes this:
Kudo/react-native-v8#208 (comment)
  • Loading branch information
dlee authored Oct 17, 2024
1 parent 67a9f2d commit 705dff5
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -118,7 +118,7 @@ elseif(${JS_RUNTIME} STREQUAL "v8")
PRIVATE
"${JS_RUNTIME_DIR}/src"
)
file(GLOB V8_SO_DIR "${JS_RUNTIME_DIR}/android/build/intermediates/library_jni/*/jni/${ANDROID_ABI}")
file(GLOB V8_SO_DIR "${JS_RUNTIME_DIR}/android/build/intermediates/library_jni/**/*/jni/${ANDROID_ABI}")
find_library(
V8EXECUTOR_LIB
v8executor
Expand Down

0 comments on commit 705dff5

Please sign in to comment.