diff --git a/CMakeLists.txt b/CMakeLists.txt index 3b242b1ded..4fc7a12ac1 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -738,9 +738,9 @@ if(EXECUTORCH_BUILD_PYBIND) endif() if(EXECUTORCH_BUILD_XNNPACK) - # need to explicitly specify XNNPACK here otherwise uses XNNPACK symbols - # from libtorch_cpu - list(APPEND _dep_libs xnnpack_backend XNNPACK) + # need to explicitly specify XNNPACK and microkernels-prod + # here otherwise uses XNNPACK and microkernel-prod symbols from libtorch_cpu + list(APPEND _dep_libs xnnpack_backend XNNPACK microkernels-prod) endif() # compile options for pybind