From a7932bdc981d76b4f1f83f7bd406d1abb4f345ac Mon Sep 17 00:00:00 2001 From: Marc Rousavy Date: Mon, 24 Oct 2022 14:09:56 +0200 Subject: [PATCH] fix: Support new Reanimated Headers directory (2.11.10+) (#1301) --- android/CMakeLists.txt | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/android/CMakeLists.txt b/android/CMakeLists.txt index 34ec991..46056d0 100644 --- a/android/CMakeLists.txt +++ b/android/CMakeLists.txt @@ -61,12 +61,20 @@ target_include_directories( ${INCLUDE_JSI_CPP} # only on older RN versions ${INCLUDE_JSIDYNAMIC_CPP} # only on older RN versions # --- Reanimated --- + # Old "${NODE_MODULES_DIR}/react-native-reanimated/Common/cpp/headers/AnimatedSensor" "${NODE_MODULES_DIR}/react-native-reanimated/Common/cpp/headers/Tools" "${NODE_MODULES_DIR}/react-native-reanimated/Common/cpp/headers/SpecTools" "${NODE_MODULES_DIR}/react-native-reanimated/Common/cpp/headers/SharedItems" "${NODE_MODULES_DIR}/react-native-reanimated/Common/cpp/headers/Registries" "${NODE_MODULES_DIR}/react-native-reanimated/Common/cpp/headers/LayoutAnimations" + # New + "${NODE_MODULES_DIR}/react-native-reanimated/Common/cpp/AnimatedSensor" + "${NODE_MODULES_DIR}/react-native-reanimated/Common/cpp/Tools" + "${NODE_MODULES_DIR}/react-native-reanimated/Common/cpp/SpecTools" + "${NODE_MODULES_DIR}/react-native-reanimated/Common/cpp/SharedItems" + "${NODE_MODULES_DIR}/react-native-reanimated/Common/cpp/Registries" + "${NODE_MODULES_DIR}/react-native-reanimated/Common/cpp/LayoutAnimations" "${NODE_MODULES_DIR}/react-native-reanimated/Common/cpp/hidden_headers" "src/main/cpp" )