summaryrefslogtreecommitdiffstats
path: root/Tests/RunCMake/CPack/CUSTOM_NAMES.cmake
diff options
context:
space:
mode:
Diffstat (limited to 'Tests/RunCMake/CPack/CUSTOM_NAMES.cmake')
-rw-r--r--Tests/RunCMake/CPack/CUSTOM_NAMES.cmake7
1 files changed, 7 insertions, 0 deletions
diff --git a/Tests/RunCMake/CPack/CUSTOM_NAMES.cmake b/Tests/RunCMake/CPack/CUSTOM_NAMES.cmake
new file mode 100644
index 0000000..c89df89
--- /dev/null
+++ b/Tests/RunCMake/CPack/CUSTOM_NAMES.cmake
@@ -0,0 +1,7 @@
+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")