diff --git a/samples/mpp_decode_demo/CMakeLists.txt b/samples/mpp_decode_demo/CMakeLists.txt index c6700dd..910b2cd 100644 --- a/samples/mpp_decode_demo/CMakeLists.txt +++ b/samples/mpp_decode_demo/CMakeLists.txt @@ -11,6 +11,8 @@ else() ${MPP_SRC_ROOT}/utils/mpp_opt.c ${MPP_SRC_ROOT}/utils/dictionary.c ${MPP_SRC_ROOT}/utils/iniparser.c) + set(MPP_BASE_SOURCE + ${MPP_SRC_ROOT}/mpp/base/mpp_trie.c) if(NOT EXISTS ${MPP_TEST_SOURCE}) message(FATAL_ERROR "mpi_dec_test.c not found at ${MPP_TEST_SOURCE}. Verify RK_MPP_ROOT") @@ -29,7 +31,8 @@ else() add_executable(mpp_decode_demo ${MPP_TEST_SOURCE} - ${MPP_UTIL_SOURCE}) + ${MPP_UTIL_SOURCE} + ${MPP_BASE_SOURCE}) target_include_directories(mpp_decode_demo PRIVATE ${MPP_SRC_ROOT}/inc