CMAKE_CPACK_COMMAND

From Get docs
Cmake/docs/3.21/variable/cmake cpack command


CMAKE_CPACK_COMMAND

New in version 3.13.


Full path to cpack(1) command installed with CMake.

This is the full path to the CPack executable cpack(1) which is useful from custom commands that want to use the cmake(1) -E option for portable system commands.

© 2000–2021 Kitware, Inc. and Contributors
Licensed under the BSD 3-clause License.
https://cmake.org/cmake/help/v3.21/variable/CMAKE_CPACK_COMMAND.html