Update CMakeLists.txt

This commit is contained in:
sladro 2025-12-09 11:09:51 +08:00
parent 42648d81c7
commit 140c057a5b

View File

@ -15,9 +15,11 @@ else()
if(NOT EXISTS ${MPP_TEST_SOURCE}) if(NOT EXISTS ${MPP_TEST_SOURCE})
message(FATAL_ERROR "mpi_dec_test.c not found at ${MPP_TEST_SOURCE}. Verify RK_MPP_ROOT") message(FATAL_ERROR "mpi_dec_test.c not found at ${MPP_TEST_SOURCE}. Verify RK_MPP_ROOT")
endif() endif()
if(NOT EXISTS ${MPP_UTIL_SOURCE}) foreach(src ${MPP_UTIL_SOURCE})
message(FATAL_ERROR "mpi_dec_utils.c not found at ${MPP_UTIL_SOURCE}. Verify RK_MPP_ROOT") if(NOT EXISTS ${src})
endif() message(FATAL_ERROR "MPP util source not found at ${src}. Verify RK_MPP_ROOT")
endif()
endforeach()
if(NOT RK_MPP_LIB_PATH) if(NOT RK_MPP_LIB_PATH)
message(FATAL_ERROR "Set RK_MPP_LIB_PATH to the built librockchip_mpp.so for RK3588") message(FATAL_ERROR "Set RK_MPP_LIB_PATH to the built librockchip_mpp.so for RK3588")
endif() endif()