mariusbancila / stduuid

A C++17 cross-platform implementation for UUIDs
MIT License
769 stars 112 forks source link

Linux build error #65

Open werdahias opened 2 years ago

werdahias commented 2 years ago

I am in the process of packaging stduuid. As Debian allows no "vendored" dependencies, I resolved the dependencies on catch, gsl and uuid by installing the following packages: uuid-dev, libmgsl-dev and catch. Still I get an build error despite the dependencies being present (externally). I suspect that this is related to the CmakeLists. Maybe you could allow external dependencies? I.e. if the local one is not found (uuid/uuid.h), then /usr/include is checked.

OS: Debian Testing GCC: 11

mariusbancila commented 2 years ago

I'll be very honest: I'm not good at Linux. I don't have a Linux machine and there's been very little work I've done on Linux in my life. But PRs are welcomed.

werdahias commented 2 years ago

The basic fix would be change the include headers from "something.h" to . I have no idea how to edit the cmake lists to search for a local header first.