@@ -127,56 +127,3 @@ foreach(lib ${lib_list})
127127 list (APPEND EXECUTORCH_LIBRARIES ${lib} )
128128 endif ()
129129endforeach ()
130-
131- # TODO: investigate use of install(EXPORT) to cleanly handle
132- # target_compile_options/target_compile_definitions for everything.
133- if (TARGET cpublas)
134- set_target_properties (
135- cpublas PROPERTIES INTERFACE_LINK_LIBRARIES
136- "extension_threadpool;eigen_blas"
137- )
138- endif ()
139- if (TARGET optimized_kernels)
140- set_target_properties (
141- optimized_kernels PROPERTIES INTERFACE_LINK_LIBRARIES
142- "executorch_core;cpublas;extension_threadpool"
143- )
144- endif ()
145-
146- if (TARGET torchao_ops_executorch)
147- set_target_properties (
148- torchao_ops_executorch PROPERTIES INTERFACE_LINK_LIBRARIES
149- "executorch_core;extension_threadpool;cpuinfo;pthreadpool"
150- )
151- endif ()
152-
153- if (TARGET coremldelegate)
154- set_target_properties (
155- coremldelegate PROPERTIES INTERFACE_LINK_LIBRARIES
156- "coreml_inmemoryfs;coreml_util"
157- )
158- endif ()
159-
160- if (TARGET etdump)
161- set_target_properties (etdump PROPERTIES INTERFACE_LINK_LIBRARIES "flatccrt;executorch" )
162- endif ()
163-
164- if (TARGET optimized_native_cpu_ops_lib)
165- if (TARGET optimized_portable_kernels)
166- set (_maybe_optimized_portable_kernels_lib optimized_portable_kernels)
167- else ()
168- set (_maybe_optimized_portable_kernels_lib portable_kernels)
169- endif ()
170- set_target_properties (
171- optimized_native_cpu_ops_lib
172- PROPERTIES INTERFACE_LINK_LIBRARIES
173- "optimized_kernels;${_maybe_optimized_portable_kernels_lib} "
174- )
175- endif ()
176- if (TARGET extension_threadpool)
177- target_compile_definitions (extension_threadpool INTERFACE ET_USE_THREADPOOL)
178- set_target_properties (
179- extension_threadpool PROPERTIES INTERFACE_LINK_LIBRARIES
180- "cpuinfo;pthreadpool"
181- )
182- endif ()
0 commit comments