summaryrefslogtreecommitdiffstats
path: root/Tests/RunCMake/CPack/RPM_DIST.cmake
diff options
context:
space:
mode:
authorDomen Vrankar <domen.vrankar@gmail.com>2016-05-11 19:14:26 (GMT)
committerDomen Vrankar <domen.vrankar@gmail.com>2016-05-14 18:21:32 (GMT)
commitf5089cfccd96f2c94838faa1736fa452ae4bb853 (patch)
tree54f0ceb0e075452421b16686fefd79ae497bc675 /Tests/RunCMake/CPack/RPM_DIST.cmake
parentf7003a60557e828f08ee893c5da78b24423b5223 (diff)
downloadCMake-f5089cfccd96f2c94838faa1736fa452ae4bb853.zip
CMake-f5089cfccd96f2c94838faa1736fa452ae4bb853.tar.gz
CMake-f5089cfccd96f2c94838faa1736fa452ae4bb853.tar.bz2
CPack/RPM adding dist to release tag test
Tests and release notes
Diffstat (limited to 'Tests/RunCMake/CPack/RPM_DIST.cmake')
-rw-r--r--Tests/RunCMake/CPack/RPM_DIST.cmake4
1 files changed, 4 insertions, 0 deletions
diff --git a/Tests/RunCMake/CPack/RPM_DIST.cmake b/Tests/RunCMake/CPack/RPM_DIST.cmake
new file mode 100644
index 0000000..eb2a123
--- /dev/null
+++ b/Tests/RunCMake/CPack/RPM_DIST.cmake
@@ -0,0 +1,4 @@
+install(FILES CMakeLists.txt DESTINATION foo COMPONENT test)
+
+set(CPACK_RPM_PACKAGE_RELEASE_DIST ON)
+set(CPACK_PACKAGE_NAME "rpm_dist")