summaryrefslogtreecommitdiffstats
path: root/Tests/RunCMake/CPack/tests/DEBUGINFO/test.cmake
diff options
context:
space:
mode:
authorDomen Vrankar <domen.vrankar@gmail.com>2017-03-24 21:41:02 (GMT)
committerDomen Vrankar <domen.vrankar@gmail.com>2017-03-25 14:25:55 (GMT)
commitf237f5f851df64e009f97304e6569f7e259d44e6 (patch)
tree4cb2ca3f5f23ca3bb0e02213c761d29765181b48 /Tests/RunCMake/CPack/tests/DEBUGINFO/test.cmake
parent6c09c5d64cad9c7d1c6be414ce918ac2d090b864 (diff)
downloadCMake-f237f5f851df64e009f97304e6569f7e259d44e6.zip
CMake-f237f5f851df64e009f97304e6569f7e259d44e6.tar.gz
CMake-f237f5f851df64e009f97304e6569f7e259d44e6.tar.bz2
CPack/RPM: support for debuginfo package renaming
Diffstat (limited to 'Tests/RunCMake/CPack/tests/DEBUGINFO/test.cmake')
-rw-r--r--Tests/RunCMake/CPack/tests/DEBUGINFO/test.cmake5
1 files changed, 5 insertions, 0 deletions
diff --git a/Tests/RunCMake/CPack/tests/DEBUGINFO/test.cmake b/Tests/RunCMake/CPack/tests/DEBUGINFO/test.cmake
index cfae259..f1b6738 100644
--- a/Tests/RunCMake/CPack/tests/DEBUGINFO/test.cmake
+++ b/Tests/RunCMake/CPack/tests/DEBUGINFO/test.cmake
@@ -32,4 +32,9 @@ set(CPACK_RPM_PACKAGE_NAME "Debuginfo")
set(CPACK_PACKAGE_FILE_NAME "TestDinfo-pkg")
set(CPACK_RPM_LIBS_DEBUGINFO_PACKAGE ON)
+# test debuginfo package rename
+set(CPACK_RPM_DEBUGINFO_FILE_NAME
+ "@cpack_component@-DebugInfoPackage.rpm")
+set(CPACK_RPM_APPLICATIONS_DEBUGINFO_FILE_NAME "RPM-DEFAULT")
+
set(CPACK_RPM_BUILD_SOURCE_DIRS_PREFIX "/src")