meson: ensure non-debug builds will use proper configuration

meson will set add -DHYPRLAND_DEBUG to CXXFLAGS during compilation of
debug builds. this avoids NDEBUG issues with wlroots and ensures asserts
will also work on release builds.
This commit is contained in:
Florian "sp1rit"​
2022-06-18 13:09:38 +02:00
parent 75918c14d7
commit 7c3626f15e
3 changed files with 11 additions and 0 deletions

View File

@@ -114,6 +114,9 @@ std::string versionRequest() {
#ifndef NDEBUG
result += "debug\n";
#endif
#ifdef HYPRLAND_DEBUG
result += "debug\n";
#endif
#ifdef NO_XWAYLAND
result += "no xwayland\n";
#endif