diff --git a/orbbec_camera/CMakeLists.txt b/orbbec_camera/CMakeLists.txt index af4a4a58..a7e5e057 100644 --- a/orbbec_camera/CMakeLists.txt +++ b/orbbec_camera/CMakeLists.txt @@ -57,6 +57,9 @@ if (USE_RK_HW_DECODER) message(FATAL_ERROR "rockchip_mpp is not found") endif () pkg_search_module(RGA REQUIRED librga) + if (NOT RGA_FOUND) + message(FATAL_ERROR "librga is not found") + endif () endif () if (USE_GST_HW_DECODER)