Setting CPACK_OUTPUT_CONFIG_FILE breaks 'package' target generation
At least using the Ninja
CMake generator, setting CPACK_OUTPUT_CONFIG_FILE
to anything different from default CPackConfig.cmake
break the package
packaging target declaration (in build.ninja
in my case). The same goes for CPACK_SOURCE_OUTPUT_CONFIG_FILE
.
Having a quick look at the code seems to indicate that the default are actually hardcoded here and here...