diff --git a/packages/react-native/ReactCommon/react/renderer/mounting/CMakeLists.txt b/packages/react-native/ReactCommon/react/renderer/mounting/CMakeLists.txt index cc96aa3731dd6e..e99ba965237741 100644 --- a/packages/react-native/ReactCommon/react/renderer/mounting/CMakeLists.txt +++ b/packages/react-native/ReactCommon/react/renderer/mounting/CMakeLists.txt @@ -14,7 +14,9 @@ add_compile_options( -Wpedantic -DLOG_TAG=\"Fabric\") -file(GLOB react_render_mounting_SRC CONFIGURE_DEPENDS *.cpp) +file(GLOB react_render_mounting_SRC CONFIGURE_DEPENDS + *.cpp + stubs/*.cpp) add_library(react_render_mounting STATIC ${react_render_mounting_SRC}) target_include_directories(react_render_mounting PRIVATE .)