Added cursor to xcompcap

Don't know if all these libs in CMakeLists are really required. Also there is still this bug, that resizing the source does not get recognized by the cursor-code, so this gets out of sync when the source is resized.