Mastering CMake: Incorrect CPack example
At the Packaging with CPack page, there is an incorrect example:
cpack -C CPackSourceConfig.cmake
This should be:
cpack --config CPackSourceConfig.cmake
The -C
switch is for the configuration ie: Release, Debug, etc.
The same is true of:
cpack -C CPackConfig.cmake
Edited by Brad King