Skip to content

Commit e904823

Browse files
committed
Update
[ghstack-poisoned]
1 parent eadf7ea commit e904823

File tree

2 files changed

+5
-1
lines changed

2 files changed

+5
-1
lines changed

CMakeLists.txt

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff 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

backends/vulkan/CMakeLists.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -101,7 +101,7 @@ set_target_properties(vulkan_schema PROPERTIES LINKER_LANGUAGE CXX)
101101
target_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

0 commit comments

Comments
 (0)