This [buildfile](https://github.com/python-cmake-buildsystem/python-cmake-buildsystem) seems to work. Needs changes to work with python 3.6 and remove options as they arent requiered if we build it just for our plugin.