Update CMakeLists.txt

This commit is contained in:
sladro 2025-12-09 11:08:24 +08:00
parent d66b44b339
commit 42648d81c7

View File

@ -5,7 +5,12 @@ if(NOT ENABLE_RK_DEMOS)
else()
set(MPP_SRC_ROOT ${RK_MPP_ROOT})
set(MPP_TEST_SOURCE ${MPP_SRC_ROOT}/test/mpi_dec_test.c)
set(MPP_UTIL_SOURCE ${MPP_SRC_ROOT}/utils/mpi_dec_utils.c)
set(MPP_UTIL_SOURCE
${MPP_SRC_ROOT}/utils/mpi_dec_utils.c
${MPP_SRC_ROOT}/utils/utils.c
${MPP_SRC_ROOT}/utils/mpp_opt.c
${MPP_SRC_ROOT}/utils/dictionary.c
${MPP_SRC_ROOT}/utils/iniparser.c)
if(NOT EXISTS ${MPP_TEST_SOURCE})
message(FATAL_ERROR "mpi_dec_test.c not found at ${MPP_TEST_SOURCE}. Verify RK_MPP_ROOT")