File tree Expand file tree Collapse file tree 2 files changed +3
-3
lines changed Expand file tree Collapse file tree 2 files changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -20,4 +20,4 @@ include(${EXECUTORCH_ROOT}/tools/cmake/Test.cmake)
2020
2121set (_test_srcs prim_ops_test.cpp)
2222
23- et_cxx_test(kernels_prim_ops_test SOURCES ${_test_srcs} )
23+ et_cxx_test(kernels_prim_ops_test SOURCES ${_test_srcs} EXTRA_LIBS executorch )
Original file line number Diff line number Diff line change @@ -43,9 +43,9 @@ function(et_cxx_test target_name)
4343 if (NOT TARGET GTest::gtest)
4444 find_package (GTest)
4545 endif ()
46- # Includes gtest, gmock, executorch by default
46+ # Includes gtest, gmock, executorch_core by default
4747 target_link_libraries (
48- ${target_name} GTest::gtest GTest::gtest_main GTest::gmock executorch
48+ ${target_name} GTest::gtest GTest::gtest_main GTest::gmock executorch_core
4949 ${ET_CXX_TEST_EXTRA_LIBS}
5050 )
5151
You can’t perform that action at this time.
0 commit comments