Harmonize usage of HAVE_X11, using #if and #cmakedefine01 everywhere

Authored by dfaure on Feb 10 2019, 7:21 PM.

Description

Harmonize usage of HAVE_X11, using #if and #cmakedefine01 everywhere

I got "#define HAVE_X11 TRUE" and errors because of that where #if was
used.

This also obeys the logic that HAVE_X11 is set (in the toplevel
CMakeLists.txt) not only when X11_FOUND but also when XCB is found.

Details

Committed
dfaureFeb 10 2019, 7:22 PM
Parents
R120:04fc21a2e521: Merge branch 'Plasma/5.14' into Plasma/5.15
Branches
Unknown
Tags
Unknown