This patch preserves backward compatibility of deb package names with previous CMake versions but similarly to CPack/RPM allows to change package name format and supports DEB-DEFAULT setting that produces proper Debian package names.
8 lines
265 B
CMake
8 lines
265 B
CMake
set(CPACK_RPM_COMPONENT_INSTALL "ON")
|
|
|
|
install(FILES CMakeLists.txt DESTINATION foo COMPONENT pkg_1)
|
|
install(FILES CMakeLists.txt DESTINATION foo COMPONENT pkg_2)
|
|
install(FILES CMakeLists.txt DESTINATION foo COMPONENT pkg_3)
|
|
|
|
set(CPACK_PACKAGE_NAME "custom_names")
|