Skip to content

Commit 6c74651

Browse files
authored
[ez] Optionally link vulkan backend to devtools example runner (#13293)
Summary: Title says it all! cc @manuelcandales @cbilgin
1 parent 41fdf13 commit 6c74651

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

examples/devtools/CMakeLists.txt

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -65,6 +65,10 @@ target_link_libraries(
6565
portable_kernels
6666
)
6767

68+
if(EXECUTORCH_BUILD_VULKAN)
69+
target_link_libraries(example_runner vulkan_backend)
70+
endif()
71+
6872
if(EXECUTORCH_BUILD_COREML)
6973
find_library(ACCELERATE_FRAMEWORK Accelerate)
7074
find_library(COREML_FRAMEWORK CoreML)

0 commit comments

Comments
 (0)