You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
15 lines
351 B
15 lines
351 B
7 years ago
|
install(FILES CMakeLists.txt DESTINATION foo COMPONENT test)
|
||
|
|
||
|
if(GENERATOR_TYPE STREQUAL "DEB")
|
||
|
set(package_type_ "DEBIAN")
|
||
|
set(CPACK_DEBIAN_PACKAGE_RELEASE "1")
|
||
|
else()
|
||
|
set(package_type_ "${GENERATOR_TYPE}")
|
||
|
endif()
|
||
|
|
||
|
set(CPACK_${package_type_}_PACKAGE_EPOCH "3")
|
||
|
|
||
|
if(PACKAGING_TYPE STREQUAL "COMPONENT")
|
||
|
set(CPACK_COMPONENTS_ALL test)
|
||
|
endif()
|