Cm_pack [upd] 〈Real • SOLUTION〉

include(CPack)

is not a standalone tool but is widely understood as shorthand for CPack – a powerful, cross-platform packaging generator that is part of the CMake suite. CPack simplifies the creation of software installers and package files (e.g., .deb , .rpm , .msi , .dmg , .tar.gz , .sh , .nupkg ) from CMake projects. It works by reading project metadata and installation rules defined in CMakeLists.txt files, then driving native packaging tools under the hood. cm_pack