summaryrefslogtreecommitdiffstats
path: root/Help/cpack_gen
diff options
context:
space:
mode:
authorLisa Welsch <lisa.welsch@etm.at>2021-07-08 13:12:36 (GMT)
committerBrad King <brad.king@kitware.com>2021-07-09 12:06:00 (GMT)
commitbb5fc38209df343490be31dd34a65816b0799b59 (patch)
treeef635948035801236f988d92c2a84b937d259da3 /Help/cpack_gen
parenta42b753c419136e3593042c62129bcaa36b50146 (diff)
downloadCMake-bb5fc38209df343490be31dd34a65816b0799b59.zip
CMake-bb5fc38209df343490be31dd34a65816b0799b59.tar.gz
CMake-bb5fc38209df343490be31dd34a65816b0799b59.tar.bz2
CPack/RPM: Add option to set %global __requires_exclude_from
Diffstat (limited to 'Help/cpack_gen')
-rw-r--r--Help/cpack_gen/rpm.rst11
1 files changed, 11 insertions, 0 deletions
diff --git a/Help/cpack_gen/rpm.rst b/Help/cpack_gen/rpm.rst
index 322ab68..f6274f9 100644
--- a/Help/cpack_gen/rpm.rst
+++ b/Help/cpack_gen/rpm.rst
@@ -1035,3 +1035,14 @@ Source RPM packaging has its own set of variables:
example::
set(CPACK_RPM_BUILDREQUIRES "python >= 2.5.0, cmake >= 2.8")
+
+.. VARIABLE:: CPACK_RPM_REQUIRES_EXCLUDE_FROM
+
+ * Mandatory : NO
+ * Default : -
+
+ May be used to keep the dependency generator from scanning specific files
+ or directories for dependencies. Note that you can use a regular
+ expression that matches all of the directories or files, for example::
+
+ set(CPACK_RPM_REQUIRES_EXCLUDE_FROM "bin/libqsqloci.*\\.so.*")