Skip to content

Commit 07b5b9a

Browse files
committed
Use the correct scope
1 parent bcc900a commit 07b5b9a

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

packages/react-native/ReactCommon/cmake-utils/react-native-flags.cmake

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,7 @@ function(target_compile_reactnative_options target_name scope)
3434
endif()
3535
if(${CMAKE_BUILD_TYPE} MATCHES Debug OR REACT_NATIVE_DEBUG_OPTIMIZED)
3636
# We enable REACT_NATIVE_DEBUGGER_ENABLED for Debug builds on the whole codebase.
37-
target_compile_options(${target_name} PRIVATE
37+
target_compile_options(${target_name} ${scope}
3838
-DREACT_NATIVE_DEBUGGER_ENABLED=1
3939
-DREACT_NATIVE_DEBUGGER_ENABLED_DEVONLY=1
4040
)

0 commit comments

Comments
 (0)