From cc8889fec00b347cdaafd20a8695b7d34b2217b8 Mon Sep 17 00:00:00 2001 From: Tomek Zawadzki Date: Fri, 13 Sep 2024 10:47:15 +0200 Subject: [PATCH] Fix Android build --- android/src/main/cpp/CMakeLists.txt | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/android/src/main/cpp/CMakeLists.txt b/android/src/main/cpp/CMakeLists.txt index aa921a55..2821883d 100644 --- a/android/src/main/cpp/CMakeLists.txt +++ b/android/src/main/cpp/CMakeLists.txt @@ -26,15 +26,15 @@ if (ReactAndroid_VERSION_MINOR GREATER_EQUAL 76) fbjni::fbjni ReactAndroid::jsi ReactAndroid::reactnative - react-native-reanimated::worklets - hermes-engine::libhermes) + react-native-reanimated::worklets) elseif (ReactAndroid_VERSION_MINOR GREATER_EQUAL 75) target_link_libraries(${CMAKE_PROJECT_NAME} fbjni::fbjni ReactAndroid::jsi ReactAndroid::reactnativejni - react-native-reanimated::worklets - hermes-engine::libhermes) + ReactAndroid::runtimeexecutor + ReactAndroid::react_nativemodule_core + react-native-reanimated::worklets) else () message(FATAL_ERROR "react-native-live-markdown requires react-native 0.75 or newer.") endif ()