cmake: add warning options