-
Notifications
You must be signed in to change notification settings - Fork 194
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Support CMake 3.10-3.20 #2532
Support CMake 3.10-3.20 #2532
Conversation
to check for compilation failures on older cmake/compilers
The solution written in the assert (include fmt/ostream.h) works BUT it makes the build ~30% slower. So as a workaround I suggest the following in src/string_view.h (only pay for the slow build when needed) #if FMT_VERSION < 60000
#include <fmt/ostream.h>
#endif |
a1a7a76
to
10a152f
Compare
10a152f
to
cb38c44
Compare
91fe42e
to
2362030
Compare
Ok, done. Player takes 7m35s: https://github.com/carstene1ns/easyrpg-player/actions/runs/845852011 |
Figured out how to make Player compatible with fmtlib 4.x: https://gist.github.com/Ghabry/ce6583102dcf9706495509ea73e7de53 Note that the "configure.ac" part is incomplete. This will only work when you |
I think we should apply the 4.x patch only for release builds in obs-config repository. |
Analogous to EasyRPG/liblcf#422.
This shows a problem btw.: We are currently not compatible to libfmt version 5 (since StringView is in).Solved.log with 5.2.1