@@ -29,7 +29,7 @@ cmake_minimum_required(VERSION 3.19)
2929set (_root "${CMAKE_CURRENT_LIST_DIR} /../../.." )
3030set (required_lib_list executorch executorch_core portable_kernels)
3131set (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)
3333foreach (lib ${required_lib_list} )
3434 set (lib_var "LIB_${lib} " )
3535 add_library (${lib} STATIC IMPORTED )
@@ -40,7 +40,7 @@ foreach(lib ${required_lib_list})
4040 )
4141 set_target_properties (${lib} PROPERTIES IMPORTED_LOCATION "${${lib_var} }" )
4242 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)
4444 list (APPEND EXECUTORCH_LIBRARIES ${lib} )
4545endforeach ()
4646
@@ -110,7 +110,7 @@ foreach(lib ${lib_list})
110110 add_library (${lib} STATIC IMPORTED )
111111 endif ()
112112 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)
114114 list (APPEND EXECUTORCH_LIBRARIES ${lib} )
115115 endif ()
116116endforeach ()
0 commit comments