We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent bcc900a commit 07b5b9aCopy full SHA for 07b5b9a
1 file changed
packages/react-native/ReactCommon/cmake-utils/react-native-flags.cmake
@@ -34,7 +34,7 @@ function(target_compile_reactnative_options target_name scope)
34
endif()
35
if(${CMAKE_BUILD_TYPE} MATCHES Debug OR REACT_NATIVE_DEBUG_OPTIMIZED)
36
# We enable REACT_NATIVE_DEBUGGER_ENABLED for Debug builds on the whole codebase.
37
- target_compile_options(${target_name} PRIVATE
+ target_compile_options(${target_name} ${scope}
38
-DREACT_NATIVE_DEBUGGER_ENABLED=1
39
-DREACT_NATIVE_DEBUGGER_ENABLED_DEVONLY=1
40
)
0 commit comments