CMake: Don't attempt to build pugixml.cpp


pugixml is configured as header-only library by default.  We must not
compile pugixml.cpp.

The qmake project file listed pugixml.cpp as source file, but it was not
compiled, because qmake automatically detected that pugixml.cpp is
included by pugixml.hpp.  CMake does not have this automatism.

Pick-to: 6.2
Fixes: QTBUG-97254
Change-Id: Ibaf434f326d42e2fdea79f359cc625338644ce4d
Reviewed-by: Qt CI Bot <qt_ci_bot@qt-project.org>
Reviewed-by: Alexandru Croitor <alexandru.croitor@qt.io>
commit89f3dcb444b689090234652741127d6f6c47fdd9
parentff51bedfb995498a04e21cfc978c6bca305754cb
authorJoerg Bornemann <joerg.bornemann@qt.io>
committerJoerg Bornemann <joerg.bornemann@qt.io>
commit timeFri, 10 Dec 2021 20:24:30 +0100