From b1dde3f8d863116d17cc004ec30f2285e25d34a0 Mon Sep 17 00:00:00 2001 From: Hansong <107070759+kirklandsign@users.noreply.github.com> Date: Mon, 9 Dec 2024 14:49:46 -0800 Subject: [PATCH] Re-sync backends/cadence/CMakeLists.txt to internal Brings the file in sync and fix merge conflict. Pull Request resolved: https://github.com/pytorch/executorch/pull/7257 --- backends/cadence/CMakeLists.txt | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/backends/cadence/CMakeLists.txt b/backends/cadence/CMakeLists.txt index 3cd880622c..6c71909c47 100644 --- a/backends/cadence/CMakeLists.txt +++ b/backends/cadence/CMakeLists.txt @@ -23,7 +23,6 @@ include(${EXECUTORCH_ROOT}/build/Utils.cmake) # Let files say "include ". set(_common_include_directories ${EXECUTORCH_ROOT}/..) -set(TARGET_DIR reference) if(EXECUTORCH_CADENCE_CPU_RUNNER) include(${EXECUTORCH_ROOT}/build/Codegen.cmake) @@ -61,6 +60,9 @@ if(EXECUTORCH_CADENCE_CPU_RUNNER) ${_common_include_directories} ) + set(TARGET_DIR reference) + add_subdirectory(${CMAKE_CURRENT_SOURCE_DIR}/${TARGET_DIR}/kernels) + target_link_libraries( cadence_runner executorch