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)
20
20
21
21
set (_test_srcs prim_ops_test.cpp )
22
22
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)
43
43
if (NOT TARGET GTest::gtest )
44
44
find_package (GTest )
45
45
endif ()
46
- # Includes gtest, gmock, executorch by default
46
+ # Includes gtest, gmock, executorch_core by default
47
47
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
49
49
${ET_CXX_TEST_EXTRA_LIBS}
50
50
)
51
51
You can’t perform that action at this time.
0 commit comments