Files
CMake/Help/release/dev/ifw-default-version-operator.rst
Craig Scott a43783a08d 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
2021-03-27 07:44:00 +11:00

8 lines
277 B
ReStructuredText

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.