dpp provides CMake targets:
find_package(dpp CONFIG REQUIRED)
target_link_libraries(main PRIVATE dpp::dpp)