File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -7,11 +7,6 @@ set(RNS_GENERATED_DIR ${RNS_ANDROID_DIR}/build/generated)
77set (RNS_GENERATED_JNI_DIR ${RNS_GENERATED_DIR} /source/codegen/jni)
88set (RNS_GENERATED_REACT_DIR ${RNS_GENERATED_JNI_DIR} /react/renderer/components/rnsvg)
99
10- string (
11- APPEND
12- CMAKE_CXX_FLAGS
13- " -DREACT_NATIVE_MINOR_VERSION=${ReactAndroid_VERSION_MINOR} " )
14-
1510file (GLOB rnsvg_SRCS CONFIGURE_DEPENDS *.cpp ${RNS_COMMON_DIR} /react/renderer/components/rnsvg/*.cpp )
1611file (GLOB rnsvg_codegen_SRCS CONFIGURE_DEPENDS ${RNS_GENERATED_REACT_DIR} /*cpp )
1712
@@ -93,3 +88,9 @@ target_compile_options(
9388 -Wno-gnu-zero-variadic-macro-arguments
9489 -Wno-dollar-in-identifier-extension
9590)
91+
92+ target_compile_definitions (
93+ react_codegen_rnsvg
94+ PRIVATE
95+ REACT_NATIVE_MINOR_VERSION=${ReactAndroid_VERSION_MINOR}
96+ )
You can’t perform that action at this time.
0 commit comments