Fix cmake macro usage (boo#1205135)
Drop tag BuildRoot: (boo#1207289)
Ported from kdevelop4-pg-qt
The Open Build Service is an openSUSE project.