Skip to content

Commit 7538d9b

Browse files
authored
set INTERFACE_LINK_LIBARIES for extension_threadpool (#9839)
Ran into this when adding optimized size test in following PR.
1 parent ab0558b commit 7538d9b

File tree

1 file changed

+5
-1
lines changed

1 file changed

+5
-1
lines changed

tools/cmake/executorch-config.cmake

+5-1
Original file line numberDiff line numberDiff line change
@@ -149,7 +149,7 @@ endif()
149149
if(TARGET coremldelegate)
150150
set_target_properties(
151151
coremldelegate PROPERTIES INTERFACE_LINK_LIBRARIES
152-
"coreml_inmemoryfs;coreml_util"
152+
"coreml_inmemoryfs;coreml_util"
153153
)
154154
endif()
155155

@@ -167,4 +167,8 @@ if(TARGET optimized_native_cpu_ops_lib)
167167
endif()
168168
if(TARGET extension_threadpool)
169169
target_compile_definitions(extension_threadpool INTERFACE ET_USE_THREADPOOL)
170+
set_target_properties(
171+
extension_threadpool PROPERTIES INTERFACE_LINK_LIBRARIES
172+
"cpuinfo;pthreadpool"
173+
)
170174
endif()

0 commit comments

Comments
 (0)