File tree Expand file tree Collapse file tree 2 files changed +5
-1
lines changed
Expand file tree Collapse file tree 2 files changed +5
-1
lines changed Original file line number Diff line number Diff line change @@ -763,6 +763,10 @@ if(EXECUTORCH_BUILD_PYBIND)
763763 list (APPEND _dep_libs xnnpack_backend XNNPACK xnnpack-microkernels-prod)
764764 endif ()
765765
766+ if (EXECUTORCH_BUILD_VULKAN)
767+ list (APPEND _dep_libs vulkan_backend)
768+ endif ()
769+
766770 # compile options for pybind
767771 set (_pybind_compile_options -Wno-deprecated-declarations -fPIC -frtti
768772 -fexceptions
Original file line number Diff line number Diff line change @@ -101,7 +101,7 @@ set_target_properties(vulkan_schema PROPERTIES LINKER_LANGUAGE CXX)
101101target_include_directories (
102102 vulkan_schema
103103 INTERFACE
104- ${SCHEMA_INCLUDE_DIR}
104+ $<BUILD_INTERFACE: $ {SCHEMA_INCLUDE_DIR}>
105105 $<BUILD_INTERFACE:${EXECUTORCH_ROOT} /third-party/flatbuffers/include >
106106)
107107
You can’t perform that action at this time.
0 commit comments