CMake itself contains a Find-module for libuuid. I propose to add it into public cmake-modules(7) 😊
libuuid
cmake-modules(7)