Skip to content

Commit a6c69a6

Browse files
committed
Update
[ghstack-poisoned]
2 parents 845a01e + 3fa99d6 commit a6c69a6

File tree

1 file changed

+5
-3
lines changed

1 file changed

+5
-3
lines changed

build/executorch-config.cmake

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -119,7 +119,9 @@ endforeach()
119119

120120
# TODO: investigate use of install(EXPORT) to cleanly handle
121121
# target_compile_options/target_compile_definitions for everything.
122-
set_target_properties(
123-
cpublas PROPERTIES INTERFACE_LINK_LIBRARIES extension_parallel
124-
)
122+
if (TARGET cpublas)
123+
set_target_properties(
124+
cpublas PROPERTIES INTERFACE_LINK_LIBRARIES extension_parallel
125+
)
126+
endif()
125127
target_compile_definitions(extension_threadpool INTERFACE ET_USE_THREADPOOL)

0 commit comments

Comments
 (0)