CMake can't find X11

Solution 1:

LXDE and X11 are not quite the same thing. You probably need the X11 header files. Try installing libx11-dev:

sudo apt-get install libx11-dev