I fixed all the mentioned issues, except: > +LIBPUGIXML_SUBDIR = scripts In this release, CMakelists.txt is located in a subfolder. This has been fixed in the git tree, but that hasn't been released yet.