summaryrefslogtreecommitdiffstats
path: root/Help
diff options
context:
space:
mode:
authorCraig Scott <craig.scott@crascit.com>2021-03-24 07:21:38 (GMT)
committerCraig Scott <craig.scott@crascit.com>2021-03-26 20:44:00 (GMT)
commita43783a08d621153daec4511474f939484b2b952 (patch)
treea0ea636d3f0b414217644ac5b0cd98916c9e8745 /Help
parentf536e6f3fb588e2cb8ab86a1f4eab75db011cefa (diff)
downloadCMake-a43783a08d621153daec4511474f939484b2b952.zip
CMake-a43783a08d621153daec4511474f939484b2b952.tar.gz
CMake-a43783a08d621153daec4511474f939484b2b952.tar.bz2
CPackIFW: Fix parsing of name and version in component DEPENDS
The DEPENDS or DEPENDENCIES arguments in a call to cpack_ifw_configure_component() or cpack_ifw_configure_component_group() specify a name and optionally a version constraint as a single string. QtIFW also allows a colon (requires QtIFW 3.1 or later) or a hyphen to separate the name and version. The version may optionally contain a leading operator, with = being assumed when no operator is present. The previous code was not handling : as a separator at all and was erroneously dropping the version part when no operator was given. Fix both of those non-conforming behaviors and also warn if trying to use a hyphen in a name with a QtIFW version that isn't recent enough to support it. Fixes: #21697
Diffstat (limited to 'Help')
-rw-r--r--Help/release/dev/ifw-default-version-operator.rst7
1 files changed, 7 insertions, 0 deletions
diff --git a/Help/release/dev/ifw-default-version-operator.rst b/Help/release/dev/ifw-default-version-operator.rst
new file mode 100644
index 0000000..4aeace2
--- /dev/null
+++ b/Help/release/dev/ifw-default-version-operator.rst
@@ -0,0 +1,7 @@
+ifw-default-version-operator
+----------------------------
+
+* Names given as ``DEPENDS`` or ``DEPENDENCIES`` arguments to
+ :command:`cpack_ifw_configure_component` or
+ :command:`cpack_ifw_configure_component_group` may now contain hyphens.
+ This requires QtIFW 3.1 or later.