File tree Expand file tree Collapse file tree 1 file changed +10
-10
lines changed Expand file tree Collapse file tree 1 file changed +10
-10
lines changed Original file line number Diff line number Diff line change 1
1
cmake_minimum_required (VERSION 3.13 )
2
2
set (CMAKE_VERBOSE_MAKEFILE ON )
3
3
4
- set (RNS_ANDROID_DIR ${CMAKE_CURRENT_SOURCE_DIR} /../../.. )
5
- set (RNS_COMMON_DIR ${RNS_ANDROID_DIR } /../common/cpp )
6
- set (RNS_GENERATED_DIR ${RNS_ANDROID_DIR } /build/generated )
7
- set (RNS_GENERATED_JNI_DIR ${RNS_GENERATED_DIR } /source/codegen/jni )
8
- set (RNS_GENERATED_REACT_DIR ${RNS_GENERATED_JNI_DIR } /react/renderer/components/rnsvg )
4
+ set (RNSVG_ANDROID_DIR ${CMAKE_CURRENT_SOURCE_DIR} /../../.. )
5
+ set (RNSVG_COMMON_DIR ${RNSVG_ANDROID_DIR } /../common/cpp )
6
+ set (RNSVG_GENERATED_DIR ${RNSVG_ANDROID_DIR } /build/generated )
7
+ set (RNSVG_GENERATED_JNI_DIR ${RNSVG_GENERATED_DIR } /source/codegen/jni )
8
+ set (RNSVG_GENERATED_REACT_DIR ${RNSVG_GENERATED_JNI_DIR } /react/renderer/components/rnsvg )
9
9
10
- file (GLOB rnsvg_SRCS CONFIGURE_DEPENDS *.cpp ${RNS_COMMON_DIR } /react/renderer/components/rnsvg/*.cpp )
11
- file (GLOB rnsvg_codegen_SRCS CONFIGURE_DEPENDS ${RNS_GENERATED_REACT_DIR } /*cpp )
10
+ file (GLOB rnsvg_SRCS CONFIGURE_DEPENDS *.cpp ${RNSVG_COMMON_DIR } /react/renderer/components/rnsvg/*.cpp )
11
+ file (GLOB rnsvg_codegen_SRCS CONFIGURE_DEPENDS ${RNSVG_GENERATED_REACT_DIR } /*cpp )
12
12
13
13
add_library (
14
14
react_codegen_rnsvg
@@ -21,9 +21,9 @@ target_include_directories(
21
21
react_codegen_rnsvg
22
22
PUBLIC
23
23
.
24
- ${RNS_COMMON_DIR }
25
- ${RNS_GENERATED_JNI_DIR }
26
- ${RNS_GENERATED_REACT_DIR }
24
+ ${RNSVG_COMMON_DIR }
25
+ ${RNSVG_GENERATED_JNI_DIR }
26
+ ${RNSVG_GENERATED_REACT_DIR }
27
27
)
28
28
29
29
find_package (ReactAndroid REQUIRED CONFIG )
You can’t perform that action at this time.
0 commit comments