From 24ddca3409fb64b8ff4cb85e442e9f02756a7db0 Mon Sep 17 00:00:00 2001 From: Marc Rousavy Date: Thu, 9 Nov 2023 11:56:41 +0100 Subject: [PATCH] fix: Fix Frame Processors not building because of `hasWorklets` flag (#2137) --- package/android/build.gradle | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/package/android/build.gradle b/package/android/build.gradle index d3eb576..4dc216c 100644 --- a/package/android/build.gradle +++ b/package/android/build.gradle @@ -107,7 +107,7 @@ android { cppFlags "-O2 -frtti -fexceptions -Wall -Wno-unused-variable -fstack-protector-all" arguments "-DANDROID_STL=c++_shared", "-DNODE_MODULES_DIR=${nodeModules}", - "-DENABLE_FRAME_PROCESSORS=${hasWorklets}" + "-DENABLE_FRAME_PROCESSORS=${hasWorklets ? "ON" : "OFF"}" abiFilters (*reactNativeArchitectures()) } }