File tree Expand file tree Collapse file tree 3 files changed +4
-4
lines changed Expand file tree Collapse file tree 3 files changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -80,12 +80,12 @@ find_package(gflags REQUIRED)
8080# find `executorch` libraries Same as for gflags
8181set (executorch_DIR ${CMAKE_CURRENT_BINARY_DIR} /../../../lib/cmake/ExecuTorch)
8282find_package (executorch CONFIG REQUIRED)
83- target_link_options_shared_lib(executorch )
83+ target_link_options_shared_lib(prim_ops_lib )
8484
8585# llama_runner library
8686add_subdirectory (runner)
8787
88- set (link_libraries executorch gflags)
88+ set (link_libraries prim_ops_lib gflags)
8989set (_srcs main.cpp)
9090
9191if (EXECUTORCH_BUILD_KERNELS_OPTIMIZED)
Original file line number Diff line number Diff line change @@ -89,7 +89,7 @@ endif()
8989# find `executorch` libraries Same as for gflags
9090set (executorch_DIR ${CMAKE_CURRENT_BINARY_DIR} /../../../lib/cmake/ExecuTorch)
9191find_package (executorch CONFIG REQUIRED)
92- target_link_options_shared_lib(executorch )
92+ target_link_options_shared_lib(prim_ops_lib )
9393
9494# llava_runner library
9595add_subdirectory (runner)
Original file line number Diff line number Diff line change @@ -54,7 +54,7 @@ endforeach()
5454# If we reach here, ET required libraries are found.
5555set (EXECUTORCH_FOUND ON )
5656
57- target_link_libraries (executorch INTERFACE executorch_core)
57+ target_link_libraries (prim_ops_lib INTERFACE executorch_core)
5858
5959if (CMAKE_BUILD_TYPE MATCHES "Debug" )
6060 set (FLATCCRT_LIB flatccrt_d)
You can’t perform that action at this time.
0 commit comments