Closed jonboh closed 2 years ago
Hi, thanks for reporting.
The fix is in issue-159 branch.
I hope I can merge it into the master at the beginning of the next week. But I don't know when I can release a new version of RESTinio as tag.
Hi!
The fix is a part of 0.6.15 release now.
restinio target is defined as an INTERFACE library in https://github.com/Stiffstream/restinio/blob/v.0.6.14/dev/restinio/CMakeLists.txt#L9 however when RESTINIO_FIND_DEPS=ON and RESTINIO_FMT_HEADER_ONLY=OFF fmt::fmt is linked with PUBLIC which is not allowed https://github.com/Stiffstream/restinio/blob/v.0.6.14/dev/restinio/CMakeLists.txt#L56
I get the following error: