@@ -43,7 +43,7 @@ find_package(
43
43
gflags REQUIRED PATHS ${CMAKE_CURRENT_BINARY_DIR} /../../third-party
44
44
)
45
45
46
- target_include_directories (executorch INTERFACE ${_common_include_directories} )
46
+ target_include_directories (executorch_core INTERFACE ${_common_include_directories} )
47
47
48
48
# ------------------------------ OPTIONS BEGIN -------------------------------
49
49
@@ -91,7 +91,7 @@ if(EXECUTORCH_SELECT_OPS_YAML)
91
91
# custom_kernels: C++ kernel implementations of custom ops
92
92
#
93
93
add_library (custom_kernels ${kernel_sources} )
94
- target_link_libraries (custom_kernels PRIVATE executorch )
94
+ target_link_libraries (custom_kernels PRIVATE executorch_core )
95
95
target_compile_options (custom_kernels PUBLIC ${_common_compile_options} )
96
96
97
97
list (APPEND _kernel_lib custom_kernels )
@@ -117,7 +117,7 @@ generate_bindings_for_kernels(
117
117
)
118
118
119
119
gen_operators_lib (
120
- LIB_NAME "select_build_lib" KERNEL_LIBS ${_kernel_lib} DEPS executorch
120
+ LIB_NAME "select_build_lib" KERNEL_LIBS ${_kernel_lib} DEPS executorch_core
121
121
)
122
122
123
123
list (TRANSFORM _executor_runner__srcs PREPEND "${EXECUTORCH_ROOT} /" )
@@ -131,10 +131,9 @@ if(CMAKE_BUILD_TYPE EQUAL "Release")
131
131
target_link_options (selective_build_test PRIVATE "LINKER:--gc-sections" )
132
132
endif ()
133
133
target_link_libraries (
134
- selective_build_test PRIVATE executorch gflags select_build_lib
134
+ selective_build_test PRIVATE executorch_core gflags select_build_lib
135
135
)
136
136
target_link_options_shared_lib (select_build_lib )
137
- target_link_options_shared_lib (executorch )
138
137
target_compile_options (selective_build_test PUBLIC ${_common_compile_options} )
139
138
140
139
# Print all summary
0 commit comments