Skip to content
Commit d789ecc6 authored by Alex Richardson's avatar Alex Richardson
Browse files

Use #cmakedefine01 for all KWIN_BUILD_* macros

This ensures that we get a warning if the config header is not included
instead of compiling the code as if it was disabled. Interestingly, some
checks already used #if KWIN_BUILD_*, so those were generating -Wundef
warnings when the feature is disabled. Commit 886173ca assumed that all
those features were already 01, so this unbreaks the build if any of the
features is disabled.

Fixes: 886173ca ("Reduce ifdefs in Workspace::supportInformation()")
parent dea33cb3
Pipeline #143822 passed with stage
in 13 minutes and 9 seconds
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment