baresip-libre provides CMake targets:

    find_package(libre CONFIG REQUIRED)
    target_link_libraries(main PRIVATE libre::libre)

