We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 2ed44ce commit 57b19a8Copy full SHA for 57b19a8
examples/models/llama/CMakeLists.txt
@@ -111,7 +111,8 @@ target_link_options_shared_lib(quantized_ops_lib)
111
list(APPEND link_libraries quantized_kernels quantized_ops_lib)
112
113
if(EXECUTORCH_BUILD_KERNELS_CUSTOM)
114
- list(APPEND link_libraries $<LINK_LIBRARY:WHOLE_ARCHIVE,custom_ops>)
+ target_link_options_shared_lib(custom_ops)
115
+ list(APPEND link_libraries custom_ops)
116
endif()
117
118
if(EXECUTORCH_BUILD_TORCHAO)
0 commit comments