Skip to content

Commit

Permalink
Use reactnativeutilsjni and reactnativejni instead of JSC
Browse files Browse the repository at this point in the history
  • Loading branch information
mrousavy committed May 18, 2021
1 parent 9d84b00 commit e0fd469
Showing 1 changed file with 14 additions and 12 deletions.
26 changes: 14 additions & 12 deletions android/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -63,21 +63,23 @@ find_library(
NO_CMAKE_FIND_ROOT_PATH
)
find_library(
JSEXECUTOR_LIB
jscexecutor
PATHS ${LIBRN_DIR}
REANIMATED_LIB
reanimated
PATHS ${LIBREANIMATED_DIR}
NO_CMAKE_FIND_ROOT_PATH
)

find_library(
JSC_LIB
jsc
PATHS ${LIBJSC_DIR}
REACT_NATIVE_JNI_LIB
reactnativejni
PATHS ${LIBRN_DIR}
NO_CMAKE_FIND_ROOT_PATH
)

find_library(
REANIMATED_LIB
reanimated
PATHS ${LIBREANIMATED_DIR}
REACT_NATIVE_UTILS_LIB
reactnativeutilsjni
PATHS ${LIBRN_DIR}
NO_CMAKE_FIND_ROOT_PATH
)

Expand All @@ -95,8 +97,8 @@ target_link_libraries(
${PACKAGE_NAME}
${LOG_LIB}
${REANIMATED_LIB}
${JSC_LIB}
${JSEXECUTOR_LIB}
${REACT_NATIVE_JNI_LIB}
${REACT_NATIVE_UTILS_LIB}
${FBJNI_LIB}
android
)
)

0 comments on commit e0fd469

Please sign in to comment.