summaryrefslogtreecommitdiffstats
path: root/Modules/CPackRPM.cmake
diff options
context:
space:
mode:
authorDomen Vrankar <domen.vrankar@gmail.com>2017-04-20 19:31:01 (GMT)
committerBrad King <brad.king@kitware.com>2017-04-20 20:19:20 (GMT)
commit8b3693e466a99a1408d700af56e74a3a85cca351 (patch)
treeae06f75ec59d451f1ae796fc9bb4cd3ae0111382 /Modules/CPackRPM.cmake
parenta6a0cfb24d637063bdb1c8e9e8ceb78cac3f90ac (diff)
downloadCMake-8b3693e466a99a1408d700af56e74a3a85cca351.zip
CMake-8b3693e466a99a1408d700af56e74a3a85cca351.tar.gz
CMake-8b3693e466a99a1408d700af56e74a3a85cca351.tar.bz2
CPack/RPM doc: CPACK_RPM_BUILDREQUIRES docs
Missing documentation for an already existing CPackRPM source rpm packages feature. Fixes #16814
Diffstat (limited to 'Modules/CPackRPM.cmake')
-rw-r--r--Modules/CPackRPM.cmake13
1 files changed, 13 insertions, 0 deletions
diff --git a/Modules/CPackRPM.cmake b/Modules/CPackRPM.cmake
index e905bc6..866c61e 100644
--- a/Modules/CPackRPM.cmake
+++ b/Modules/CPackRPM.cmake
@@ -887,6 +887,19 @@
#
# * Mandatory : YES
# * Default : "/"
+#
+# .. VARIABLE:: CPACK_RPM_BUILDREQUIRES
+#
+# List of source rpm build dependencies.
+#
+# * Mandatory : NO
+# * Default : -
+#
+# May be used to set source RPM build dependencies (BuildRequires). Note that
+# you must enclose the complete build requirements string between quotes, for
+# example::
+#
+# set(CPACK_RPM_BUILDREQUIRES "python >= 2.5.0, cmake >= 2.8")
# Author: Eric Noulard with the help of Alexander Neundorf.