The package angle provides unofficial CMake targets:

    find_package(unofficial-angle REQUIRED CONFIG)
    target_link_libraries(main PRIVATE unofficial::angle::libGLESv2)

    # Or use the EGL target
    find_package(unofficial-angle REQUIRED CONFIG)
    target_link_libraries(main PRIVATE unofficial::angle::libEGL)
