summaryrefslogtreecommitdiffstats
path: root/Tests/CPackComponentsForAll/MyLibCPackConfig-OnePackPerGroup.cmake.in
diff options
context:
space:
mode:
authorDomen Vrankar <domen.vrankar@gmail.com>2016-02-13 01:09:32 (GMT)
committerDomen Vrankar <domen.vrankar@gmail.com>2016-02-13 01:09:32 (GMT)
commit7c7efd1ed92e3c423f463c0249e1c05a33ff8049 (patch)
treea8b1898be8bb4d25e914dbc5e027a987cc6ed811 /Tests/CPackComponentsForAll/MyLibCPackConfig-OnePackPerGroup.cmake.in
parent86d2f3252591f413e57a623e297911bbf03b481e (diff)
downloadCMake-7c7efd1ed92e3c423f463c0249e1c05a33ff8049.zip
CMake-7c7efd1ed92e3c423f463c0249e1c05a33ff8049.tar.gz
CMake-7c7efd1ed92e3c423f463c0249e1c05a33ff8049.tar.bz2
CPack/RPM support for upper cased component variables
CPACK_* variables expect component name in upper case. CPACK_RPM_* variables expected component name to be in same case as component name. This patch adds support for CPACK_RPM_* variables with upper case component names to match the convention with CPACK_* variables and also preserves same case component names for back compatibility.
Diffstat (limited to 'Tests/CPackComponentsForAll/MyLibCPackConfig-OnePackPerGroup.cmake.in')
-rw-r--r--Tests/CPackComponentsForAll/MyLibCPackConfig-OnePackPerGroup.cmake.in2
1 files changed, 1 insertions, 1 deletions
diff --git a/Tests/CPackComponentsForAll/MyLibCPackConfig-OnePackPerGroup.cmake.in b/Tests/CPackComponentsForAll/MyLibCPackConfig-OnePackPerGroup.cmake.in
index 60bdd06..ac65dc9 100644
--- a/Tests/CPackComponentsForAll/MyLibCPackConfig-OnePackPerGroup.cmake.in
+++ b/Tests/CPackComponentsForAll/MyLibCPackConfig-OnePackPerGroup.cmake.in
@@ -7,7 +7,7 @@ endif()
if(CPACK_GENERATOR MATCHES "RPM")
set(CPACK_RPM_COMPONENT_INSTALL "ON")
- set(CPACK_RPM_Development_PACKAGE_REQUIRES "mylib-Runtime")
+ set(CPACK_RPM_DEVELOPMENT_PACKAGE_REQUIRES "mylib-Runtime")
endif()
if(CPACK_GENERATOR MATCHES "DEB")