[cmake-developers] CMP0071

Sebastian Holtermann seblist at xwmw.org
Thu Oct 5 03:53:26 EDT 2017

> I find myself setting SKIP_AUTOUIC on *.h and *.cpp files to silence
> CMP0071 warnings. 

It's an unfortunate situation.

In many cases (qt < 5.10) it might work to just let AUTOUIC probe
the (moc/uic/rcc) GENERATED files as well by setting
`cmake_policy(SET CMP0071 NEW)`

More information about the cmake-developers mailing list