summaryrefslogtreecommitdiffstats
path: root/Modules/CPackRPM.cmake
diff options
context:
space:
mode:
authorAlex Turbov <i.zaufi@gmail.com>2016-07-11 09:48:22 (GMT)
committerBrad King <brad.king@kitware.com>2016-07-11 15:19:24 (GMT)
commit672e6d2e20212b627085f035f65cb45d0c070d23 (patch)
tree678cc0427e7f6de99197b913270ba724c0060119 /Modules/CPackRPM.cmake
parente31084e65745f9dd422c6aff0a2ed4ada6918805 (diff)
downloadCMake-672e6d2e20212b627085f035f65cb45d0c070d23.zip
CMake-672e6d2e20212b627085f035f65cb45d0c070d23.tar.gz
CMake-672e6d2e20212b627085f035f65cb45d0c070d23.tar.bz2
CPack/RPM: Add missed CPACK_RPM_FILE_NAME fallback variable
In commit v3.6.0-rc1~66^2 (CPack/RPM different package names, 2016-05-15) we forgot the non-uppercased fallback variable name `CPACK_RPM_<COMPONENT>_FILE_NAME`. Add it now.
Diffstat (limited to 'Modules/CPackRPM.cmake')
-rw-r--r--Modules/CPackRPM.cmake1
1 files changed, 1 insertions, 0 deletions
diff --git a/Modules/CPackRPM.cmake b/Modules/CPackRPM.cmake
index d231ff0..9cc496f 100644
--- a/Modules/CPackRPM.cmake
+++ b/Modules/CPackRPM.cmake
@@ -1803,6 +1803,7 @@ function(cpack_rpm_generate_package)
endif()
cpack_rpm_variable_fallback("CPACK_RPM_FILE_NAME"
+ "CPACK_RPM_${CPACK_RPM_PACKAGE_COMPONENT}_FILE_NAME"
"CPACK_RPM_${CPACK_RPM_PACKAGE_COMPONENT_UPPER}_FILE_NAME"
"CPACK_RPM_FILE_NAME")
if(NOT CPACK_RPM_FILE_NAME STREQUAL "RPM-DEFAULT")