@@ -43,7 +43,7 @@ find_package(
4343 gflags REQUIRED PATHS ${CMAKE_CURRENT_BINARY_DIR} /../../third-party
4444)
4545
46- target_include_directories (executorch INTERFACE ${_common_include_directories} )
46+ target_include_directories (executorch_core INTERFACE ${_common_include_directories} )
4747
4848# ------------------------------ OPTIONS BEGIN -------------------------------
4949
@@ -91,7 +91,7 @@ if(EXECUTORCH_SELECT_OPS_YAML)
9191 # custom_kernels: C++ kernel implementations of custom ops
9292 #
9393 add_library (custom_kernels ${kernel_sources} )
94- target_link_libraries (custom_kernels PRIVATE executorch )
94+ target_link_libraries (custom_kernels PRIVATE executorch_core )
9595 target_compile_options (custom_kernels PUBLIC ${_common_compile_options} )
9696
9797 list (APPEND _kernel_lib custom_kernels)
@@ -117,7 +117,7 @@ generate_bindings_for_kernels(
117117)
118118
119119gen_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
121121)
122122
123123list (TRANSFORM _executor_runner__srcs PREPEND "${EXECUTORCH_ROOT} /" )
@@ -131,10 +131,9 @@ if(CMAKE_BUILD_TYPE EQUAL "Release")
131131 target_link_options (selective_build_test PRIVATE "LINKER:--gc-sections" )
132132endif ()
133133target_link_libraries (
134- selective_build_test PRIVATE executorch gflags select_build_lib
134+ selective_build_test PRIVATE executorch_core gflags select_build_lib
135135)
136136target_link_options_shared_lib(select_build_lib)
137- target_link_options_shared_lib(executorch)
138137target_compile_options (selective_build_test PUBLIC ${_common_compile_options} )
139138
140139# Print all summary
0 commit comments