[provider.cube] disable some warnings
[test.provider] make it compile, refs #1
[cmake] make this actually work^^