Skip to content

Commit 524de37

Browse files
committed
[ez] Optionally link vulkan backend to devtools example runner
Summary: Title says it all! ghstack-source-id: 1d8fdda ghstack-comment-id: 3176582088 Pull-Request: #13293
1 parent 8e85857 commit 524de37

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)