0ffd35340e
RPM, DEB and archive packages were not created in cases when CPACK_<generator>_COMPONENT_INSTALL was set to ON and a single component existed. Patch also changes CPackRPM test to implicitly test for this case.
7 lines
193 B
CMake
7 lines
193 B
CMake
install(FILES CMakeLists.txt DESTINATION /not_relocatable COMPONENT static)
|
|
|
|
set(CPACK_PACKAGE_RELOCATABLE TRUE)
|
|
set(CPACK_PACKAGING_INSTALL_PREFIX "/opt")
|
|
|
|
set(CPACK_RPM_COMPONENT_INSTALL ON)
|