Wrap linking libs in CMakeLists
Drop extra header from textdocumentsettings