file(GLOB_RECURSE _CURRENT_SRC_FILES RELATIVE ${CMAKE_CURRENT_SOURCE_DIR} "*.cpp")
set_property(SOURCE ${_CURRENT_SRC_FILES} PROPERTY COMPILE_DEFINITIONS SUBMODULE_ID=mindspore::SubModuleId::SM_MD)
add_library(soft-dvpp-utils OBJECT
            soft_dp.cc
            soft_dp_tools.cc
            soft_jpegd.cc
            soft_vpc.cc
            yuv_scaler_para_set.cc)
if (USE_GLOG)
    message("Soft dvpp use glog to print message.")
else()
    add_compile_definitions(DVPP_UTST)
endif()