[CMake] Avoid "Qt's circular inclusion" warnings

Rolf Eike Beer eike at sf-mail.de
Tue Jul 12 07:00:58 EDT 2011


> Hi,
>
> in my App I use lupdate/lrelease to generate language plugins.
>
> However due the bug in lupdate which generates "circular inclusion of ..."
> warnings, the dash board (CDash) has error's and not warnings.
>
> I don't know why there are errors and not warnings.
>
> Is there a way to disable/ignore those warnings?

Put this into CTestCustom.cmake in CMAKE_BINARY_DIR (not _SOURCE_ !):

set(CTEST_CUSTOM_WARNING_EXCEPTION ${CTEST_CUSTOM_WARNING_EXCEPTION}
    "circular inclusion of ")

Eike


More information about the CMake mailing list