ed25519 provides CMake targets:
find_package(unofficial-ed25519 CONFIG REQUIRED)
target_link_libraries(main PRIVATE unofficial::ed25519::ed25519)