summaryrefslogtreecommitdiffstats
path: root/Tests/CPackComponentsForAll/MyLibCPackConfig-IgnoreGroup.cmake.in
diff options
context:
space:
mode:
authorJoshua A Clayton <stillcompiling@gmail.com>2015-02-19 08:01:16 (GMT)
committerBrad King <brad.king@kitware.com>2015-02-23 15:48:36 (GMT)
commitf174b919d65d8aefbe8dec26e2b31c7525805f8d (patch)
tree335a9eda8e699a27456b930396dcd55ef0b3626c /Tests/CPackComponentsForAll/MyLibCPackConfig-IgnoreGroup.cmake.in
parent3aa9f89dbb88d957a662effdbc284c95aef1a8a9 (diff)
downloadCMake-f174b919d65d8aefbe8dec26e2b31c7525805f8d.zip
CMake-f174b919d65d8aefbe8dec26e2b31c7525805f8d.tar.gz
CMake-f174b919d65d8aefbe8dec26e2b31c7525805f8d.tar.bz2
Tests: CpackRPM test component architecture
Test creating rpms of type "noarch", native, and "armv7hf"
Diffstat (limited to 'Tests/CPackComponentsForAll/MyLibCPackConfig-IgnoreGroup.cmake.in')
-rw-r--r--Tests/CPackComponentsForAll/MyLibCPackConfig-IgnoreGroup.cmake.in6
1 files changed, 6 insertions, 0 deletions
diff --git a/Tests/CPackComponentsForAll/MyLibCPackConfig-IgnoreGroup.cmake.in b/Tests/CPackComponentsForAll/MyLibCPackConfig-IgnoreGroup.cmake.in
index de0ee46..4119b8d 100644
--- a/Tests/CPackComponentsForAll/MyLibCPackConfig-IgnoreGroup.cmake.in
+++ b/Tests/CPackComponentsForAll/MyLibCPackConfig-IgnoreGroup.cmake.in
@@ -11,6 +11,12 @@ if(CPACK_GENERATOR MATCHES "RPM")
set(CPACK_RPM_COMPONENT_INSTALL "ON")
set(CPACK_RPM_applications_PACKAGE_REQUIRES "mylib-libraries")
+ # test a "noarch" rpm
+ set(CPACK_RPM_headers_PACKAGE_ARCHITECTURE "noarch")
+
+ # test cross-built rpm
+ set(CPACK_RPM_applications_PACKAGE_ARCHITECTURE "armv7hf")
+
# test package summary override
set(CPACK_RPM_PACKAGE_SUMMARY "default summary")
set(CPACK_RPM_libraries_PACKAGE_SUMMARY "libraries summary")