Issue with kde-qt6-core24-sdk involving pugixml

Hello,

I am maintaining a snap (PhotoQt) and am running into some issues with its use of pugixml. I have libpugixml-dev added under build-packages (and libpugixml1v5 under stage-packages), but when trying to pack the snap it fails with this error:

:: CMake Error at /snap/kde-qt6-core24-sdk/current/usr/lib/x86_64-linux-gnu/cmake/pugixml/pugixml-targets.cmake:111 (message):
::   The imported target "pugixml::static" references the file
::      "/snap/kde-qt6-core24-sdk/current/usr/lib/x86_64-linux-gnu/libpugixml.a"
::   but this file does not exist.  Possible reasons include:
::   * The file was deleted, renamed, or moved to another location.
::   * An install or uninstall procedure did not complete successfully.
::   * The installation package was faulty and contained
::      "/snap/kde-qt6-core24-sdk/current/usr/lib/x86_64-linux-gnu/cmake/pugixml/pugixml-targets.cmake"
::   but not all the files it references.

The file libpugixml.a does exist but not in /snap/kde-qt6-core24-sdk/current/usr but only in /usr. Does anybody know how to fix/workaround this?

Thanks!