File tree Expand file tree Collapse file tree 2 files changed +16
-1
lines changed
Expand file tree Collapse file tree 2 files changed +16
-1
lines changed Original file line number Diff line number Diff line change @@ -490,7 +490,7 @@ install(
490490 INCLUDES
491491 DESTINATION ${_common_include_directories}
492492)
493- install (FILES tools/cmake/executorch-config.cmake
493+ install (FILES tools/cmake/Utils.cmake tools/cmake/ executorch-config.cmake
494494 DESTINATION lib/cmake/ExecuTorch
495495)
496496
Original file line number Diff line number Diff line change 2424# the contract of exposing these CMake variables.
2525
2626cmake_minimum_required (VERSION 3.19)
27+ include ("UtilsINTENTIONALLYBREAKTEST.cmake" )
2728
2829set (_root "${CMAKE_CURRENT_LIST_DIR} /../../.." )
2930set (required_lib_list executorch executorch_core portable_kernels)
@@ -171,3 +172,17 @@ if(TARGET extension_threadpool)
171172 "cpuinfo;pthreadpool"
172173 )
173174endif ()
175+
176+ set (shared_lib_list
177+ executorch
178+ optimized_native_cpu_ops_lib
179+ portable_ops_lib
180+ quantized_ops_lib
181+ xnnpack_backend
182+ vulkan_backend
183+ quantized_ops_aot_lib)
184+ foreach (lib ${shared_lib_list} )
185+ if (TARGET ${lib} )
186+ target_link_options_shared_lib(${lib} )
187+ endif ()
188+ endforeach ()
You can’t perform that action at this time.
0 commit comments