Generall guideline for warnings caused by external libraries is to investigate which kind of warnings are created by the external library and then selectively exclude them from causing errors in the cmake file. This of course should only be done if the warnings are presumably uncritical (e.g. unused variable).
However, this approach is sometimes not feasible as e.g. for tracking devices. Users of IGT can in principle connect arbitrary tracking devices and testing all of them for the type of warnings etc. is not possible.
This means for modules as IGT it would be best to deactivate warnings c.f. external libraries from causing errors. Sascha said this is not straightforward and would need investigation. This is why this bug was created.