@@ -29,7 +29,7 @@ cmake_minimum_required(VERSION 3.19)
29
29
set (_root "${CMAKE_CURRENT_LIST_DIR} /../../.." )
30
30
set (required_lib_list executorch executorch_core portable_kernels)
31
31
set (EXECUTORCH_LIBRARIES)
32
- set (EXECUTORCH_INCLUDE_DIRS ${_root} /include ${_root} /include /executorch/runtime/core/portable_type ${_root} /lib)
32
+ set (EXECUTORCH_INCLUDE_DIRS ${_root} /include ${_root} /include /executorch/runtime/core/portable_type/c10 ${_root} /lib)
33
33
foreach (lib ${required_lib_list} )
34
34
set (lib_var "LIB_${lib} " )
35
35
add_library (${lib} STATIC IMPORTED )
@@ -40,7 +40,7 @@ foreach(lib ${required_lib_list})
40
40
)
41
41
set_target_properties (${lib} PROPERTIES IMPORTED_LOCATION "${${lib_var} }" )
42
42
target_compile_definitions (${lib} INTERFACE C10_USING_CUSTOM_GENERATED_MACROS)
43
- target_include_directories (${lib} INTERFACE ${_root} /include ${_root} /include /executorch/runtime/core/portable_type ${_root} /lib)
43
+ target_include_directories (${lib} INTERFACE ${_root} /include ${_root} /include /executorch/runtime/core/portable_type/c10 ${_root} /lib)
44
44
list (APPEND EXECUTORCH_LIBRARIES ${lib} )
45
45
endforeach ()
46
46
@@ -110,7 +110,7 @@ foreach(lib ${lib_list})
110
110
add_library (${lib} STATIC IMPORTED )
111
111
endif ()
112
112
set_target_properties (${lib} PROPERTIES IMPORTED_LOCATION "${${lib_var} }" )
113
- target_include_directories (${lib} INTERFACE ${_root} /include ${_root} /include /executorch/runtime/core/portable_type ${_root} /lib)
113
+ target_include_directories (${lib} INTERFACE ${_root} /include ${_root} /include /executorch/runtime/core/portable_type/c10 ${_root} /lib)
114
114
list (APPEND EXECUTORCH_LIBRARIES ${lib} )
115
115
endif ()
116
116
endforeach ()
0 commit comments